Problem visualizing redeemed rewards

Using

curl -X GET ‘https://api.twitch.tv/helix/channel_points/custom_rewards/redemptions?broadcaster_id=…&reward_id=…&status=CANCELED’
-H ‘Client-Id: …’
-H ‘Authorization: Bearer …’

returns

{“error”:“Forbidden”,“status”:403,“message”:“custom reward was created by a different client_id or channel points are not available for the broadcaster”}

even though I am sure I got the right Authorization by changing parameters in https://github.com/BarryCarlyon/twitch_misc/tree/main/authentication/implicit_auth for some reason even after running a localhost:8000 in my machine using PHP I get a 404 error: The requested resource / was not found on this server. But the Access token at the top appears and that is what I am using to check for this reward. Let me know if I am missing something.

You can only manage/update/control rewards that your ClientID created.

If you are trying to manage a reward created in the dashboard then you won’t be able to control it’s redemptions from the API as you don’t “own” that reward

Thats the bit you are missing

Only rewards created programmatically by the same client_id can be updated.

So you

  • set the redirectURI in the console to http://localhost:8000/
  • updated the redurectURI in the code to http://localhost:8000/
  • visited http://localhost:8000/ in your browser,

And after auth you got a 404?

And your ran php -s in the directory that index.html is in?

I guess my problem was running the server not inside the folder, thank you this helped me finish my project!