Sometimes getting Unauthorized - "invalid oauth token" for a token I just generated

A very small percentage of our users is getting a Unauthorized error with a new token. Looking at the logs, they complete the auth and come back via the callback. The token we receive in that callback is seconds old but it’s returining this error when attempting to get the user details (via https://api.twitch.tv/kraken/user):

{“error”:“Unauthorized”,“status”:401,“message”:“invalid oauth token”}

I thought it might be a race condition but we retry up to five times on failed user details attempts. Any ideas what is going on here?

Are you seeing the same behavior with Helix?

Kraken is deprecated and might be seeing a weirdness there?

We’re not using Helix yet. We’ll do it eventually. When’s the EOL for Kraken?

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