Hello everyone.
So I created some Channel Point rewards and I can detect when they are redeemed. So what I want to do is refund them through code. This is because the viewer might refund something that’s on a cooldown in my game. So I have a test script that waits for someone to redeem a reward, grabs the id from there, and then after about 5 seconds sends a request to refund it. When I do, I get the error.
HTTP/1.1 403 Forbidden and the docs say Forbidden: The Custom Reward was created by a different client_id
or Channel Points are not available for the broadcaster
So it says it was created by a different client, but I made the reward from the twitch website using my main account. The client id / access token also has been generated with my main account. I did notice this line at the start.
" Only redemptions for a reward created by the same client_id
as attached to the access token can be updated."
So that’s my situation and now I’m wondering if I need to create and delete the rewards in code. That somehow my client id on the website is different from the client id I got when I generated my token. So that’s what I’ll be trying next.
Any information on this is greatly appreciated