Comments (6)
The zero value of an error is nil. I'm not sure what you mean by "NullPointer" exception?
from helix.
Closing. Please re-open if you are still experiencing issues.
from helix.
Sry i should not work sick... You´re totally correct.
But than i have a Question to the Webhook.
I get this Response. I think the WebhookSubscriptions should not be empty?
{ResponseCommon:{StatusCode:200 Header:map[Server:[nginx] Expires:[0] Pragma:[no-cache] Ratelimit-Limit:[800] Twitch-Trace-Id:[6d466f552f04c243125b5142fd8251c5] Vary:[Accept-Encoding] Front-End-Https:[on] Content-Type:[application/json; charset=utf-8] Access-Control-Allow-Origin:[*] Ratelimit-Remaining:[799] X-Ctxlog-Logid:[1-5c2e7e1e-e385ad0c28ec85f2a7291c06] Timing-Allow-Origin:[https://www.twitch.tv] Date:[Thu, 03 Jan 2019 21:26:55 GMT] Cache-Control:[no-cache, no-store, must-revalidate, private] Ratelimit-Reset:[1546550815]] Error: ErrorStatus:0 ErrorMessage:} Data:{Total:0 WebhookSubscriptions:[] Pagination:{Cursor:}}}
from helix.
By the looks of it you don't have any subscriptions. This is working as intended. I am currently using it in production and it's working fine.
It may be that you are not verifying the webhook subscription. I suggest you follow the webhook example flow that Twitch provides.
from helix.
I did make this small adjustment earlier today. So if you are using secrets as part of your webhook workflow, that may have been the reason why you might not have been able to validate a webhook subscription.
from helix.
i tried to follow your docs example for Webhooks.
I cant find my Failure. Could you show me you´re live Example?
from helix.
Related Issues (20)
- Proposal: Add option to pass in state for each API request HOT 5
- Proposal: Add default rate limit function HOT 2
- Client does not use AppAccessToken on calls that must use AppAccessToken HOT 4
- missing api endpoints
- Need to add VodOffset. HOT 2
- Latest Release is 12.13.0 not 2.13.0 HOT 1
- Endpoint errors but returned error is nil
- Support `tags` for the stream resource HOT 1
- Implement Schedule endpoints
- Auto Refreshing Access Tokens
- Update follows endpoint to new version HOT 1
- When scope for endpoint is missing in the access token, it gets locked in a loop refreshing the access token
- Proposal: Context for methods, not for struct itself
- GetBlockedTerms() does not use provided data HOT 2
- AddBlockedTerm() does not use provided data HOT 2
- Add send message endpoint request
- GetBannedUsers() returns nothing HOT 14
- event EventSubChannelPredictionEndEvent json ended_at typo HOT 1
- Most recent patch release broke "API" HOT 1
- Add "Warn Chat User" endpoint HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.