Yeah your header format is incorrect, I’m not a javascript expert but it can’t be a string like that you need to form your headers as an object like this:
headers: {
‘Client-ID’: ‘blablabla’,
‘Accept’: ‘application/vnd.twitchtv.v5+json’
}
This makes the entries members of an object not just an object with a string in.
The reason the first call you made works is that it does not require any headers, if you click the link you’ll get a response without using a version or Client-Id
https://api.twitch.tv/kraken/games/top?limit=100
Hope that helps
Adrian