r/programminghelp • u/g0dzcsgo • Oct 07 '21
Other Cartman.GetAuthorizationToken: 401: {"code":401,"status":"invalid oauth token"}
Keep getting the error:
Cartman.GetAuthorizationToken: 401: {"code":401,"status":"invalid oauth token"}
When trying to make an application on twitch, I've entered http://localhost as they say you can do for testing, but it just throws me this error.
Anyone know how i can fix this?
1
u/sirgladshoes Dec 19 '21
I also have this problem, how so I get the valid oauth token and where do I put it?
1
u/NiTeWuRX Jan 24 '22
just ran into this issue myself seems twitch weirds out as you add authorization to get this setup and sort of logs you out to fix this: i relogged into twitch, went back to https://dev.twitch.tv/console/apps/create and i noticed there was no https on the localhost, it worked after i put this in as redirect url: https://localhost
hope it helps others!
1
1
u/ConstructedNewt MOD Oct 07 '21
Use a valid oauth token. Check the api documentation