Hello,
I use Twitch API with Twurple JS library.
I am trying to fulfill or cancel a pending redemption, but the API always give a 403 error. My channel is affiliate and I checked that the broadcaster_id value matches my channel broadcaster_id.
Here is the URL generated by Twurple (called with PATCH method):
https://api.twitch.tv/helix/channel_points/custom_rewards/redemptions?broadcaster_id=xxxx&reward_id=xxxx&id=xxxx
I have replaced real values by xxxx, and the status is sent in the request payload. So, I guess that Twurple implementation is good.
But, it still gives the following error 403:
{
“error”: “Forbidden”,
“status”: 403,
“message”: “The ID in the Client-Id header must match the client ID used to create the custom reward, or the broadcaster doesn’t have partner or affiliate status.”
}
Is this a Twitch API bug?