# Problem visualizing redeemed rewards

**URL:** <https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367>\
**Category:** API\
**Created:** [April 20, 2021, 9:35am UTC](https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367 "2021-04-20T09:35:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![powermine](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/powermine/32/10918_2.png) [@powermine](https://discuss.dev.twitch.com/u/powermine)\
**Post date:** [April 20, 2021, 9:35am UTC](https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367/1 "2021-04-20T09:35:37Z")

</div>

Using

curl -X GET ‘[https://api.twitch.tv/helix/channel\_points/custom\_rewards/redemptions?broadcaster\_id=](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](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.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 20, 2021, 11:11am UTC](https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367/2 "2021-04-20T11:11:06Z")

</div>

> [@powermine](#):
>
> returns
> 
> {“error”:“Forbidden”,“status”:403,“message”:“custom reward was created by a different client\_id or channel points are not available for the broadcaster”}

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

> **[Reference](https://dev.twitch.tv/docs/api/reference/)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

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

> [@powermine](#):
>
> 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](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.

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?

---

<div class="post-metadata">

**Author:** ![powermine](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/powermine/32/10918_2.png) [@powermine](https://discuss.dev.twitch.com/u/powermine)\
**Post date:** [April 27, 2021, 6:40pm UTC](https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367/3 "2021-04-27T18:40:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 27, 2021, 6:40pm UTC](https://discuss.dev.twitch.com/t/problem-visualizing-redeemed-rewards/31367/4 "2021-05-27T18:40:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
