410 Gone on v5 games/top

tl;dr: Add &api_version=5 to your URL
(even if you already have ‘Accept’: ‘application/vnd.twitchtv.v5+json’ in the headers)

The problem appears to be related to the shutdown of v3 APIs, and (sometimes) the v3 version being called, even when ‘Accept’: ‘application/vnd.twitchtv.v5+json’ is in the headers.

So, I tried calling https://api.twitch.tv/kraken/games/top?limit=100&api_version=5 whenever https://api.twitch.tv/kraken/games/top?limit=100 returned 410

Since making this change 2 days ago:

  • 410 was returned by the original call, 132 times out of 728 attempts
  • 410 was never returned when including &api_version=5 in the URL
1 Like