We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const rewardRemoveSub = await eventSub.subscribeToChannelRewardRemoveEvents(userId, onRewardRemove);
Return a subscription object with no error.
Fails to return a subscription object and throws a rejection with the following error:
HttpStatusCodeError: Encountered HTTP status code 400: Bad Request Body: { "error": "Bad Request", "status": 400, "message": "invalid subscription type and version" }
In: https://github.com/d-fischer/twitch/blob/versions/4.4/packages/twitch/src/API/Helix/EventSub/HelixEventSubApi.ts#L349
Typo: 'channel.channel_points_custom_rewards.remove'
'channel.channel_points_custom_rewards.remove'
Subscription type should be: 'channel.channel_points_custom_reward.remove'
'channel.channel_points_custom_reward.remove'
The text was updated successfully, but these errors were encountered:
correct eventsub reward remove topic name
89df3e9
fixes #225
1a32b87
I'm not sure why the merge didn't close this automatically, but this is fixed in 4.4.11. Thanks for reporting!
Sorry, something went wrong.
No branches or pull requests
Bug Report
Code
Expected behavior
Return a subscription object with no error.
Actual Behavior
Fails to return a subscription object and throws a rejection with the following error:
Cause of Error
In: https://github.com/d-fischer/twitch/blob/versions/4.4/packages/twitch/src/API/Helix/EventSub/HelixEventSubApi.ts#L349
Typo:
'channel.channel_points_custom_rewards.remove'
Subscription type should be:
'channel.channel_points_custom_reward.remove'
Environment
The text was updated successfully, but these errors were encountered: