404 Error on Oauth2 POST call

Hi. I’m trying to get an access token, but when I make a call to the https://id.twitch.tv/oauth2/token/ website, I keep getting a 404 error.

I have tried using curl & postman, and keep getting the same error. I’m not sure exactly what I’m doing wrong. The URL below is what I am using, along with the header ‘Content-Type’: ‘application/x-www-form-urlencoded’

https://id.twitch.tv/oauth2/token/?client_id=&client_secret=&grant_type=client_credentials

Any help would be greatly appreciated. Thank you

The documentation documents it as https://id.twitch.tv/oauth2/token which is a differnet URL/Resourse to what you are calling https://id.twitch.tv/oauth2/token/

The no slash on the end is important.

1 Like

Got it, thank you so much! I’m new to this so I guess little things like that are gonna catch me out :joy:

Have a nice day!

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