When using a get request to ‘https://api.twitch.tv/kraken/channels/user_id’ it doesnt seem to be accepting the ‘Accept’ header. Im passing ‘application/vnd.twitchtv.v5.json’ as the ‘Accept’ header and its failing because its falling back to v3. But if i pass ‘?api_version=5’ as a query parameter then the request is succeeding.
The header value you’re passing is incorrect. It is
application/vnd.twitchtv.v5+json. You have a full stop instead of a plus before
I didnt even notice that i had a . instead of a +. Silly me. Thanks
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.