Error 404 when using refresh_token call (postman / js )

https://id.twitch.tv/oauth2/token--data-urlencode?grant_type=refresh_token&refresh_token=<your refresh token>&client_id=<your client ID>&client_secret=<your client secret>

I’m putting my information into the body of the call and i’m receiving a 404 page not found response.

is there something I need to do in addition to get the proper information?

REASON: in my application, I have a session but when I refresh the page my GET for …kraken/streams/followed throws a 401 error and I’m thinking it’s because my access/oauth token is becoming invalid.

thanks!

Remove --data-urlencode from the URL, that’s part of the curl command in the example, not part of the URL, and also make sure you’re POST’ing, as a GET will also cause a 404

1 Like

that worked perfectly, thank you!

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