`/helix/channels` returns status code 500

Since GitHub - twitchdev/issues: Issue tracker for third party developers. usually does not get noticed when reporting issues, I’m reposting my thread here.


Brief description

This API issue has started happening a couple of minutes ago.

Depending on the broadcaster_id(s) set on the query string of the /helix/channels endpoint, a 500 error code is returned.

I first thought that this was caused by the number of the broadcaster_id parameters, and it only returned a 500 code when more than 6 were requested, but it looks like the faulty responses depend on the IDs themselves (or a combination, whatever).

How to reproduce

curl 'https://api.twitch.tv/helix/channels?broadcaster_id=26301881&broadcaster_id=23161357&broadcaster_id=108268890&broadcaster_id=50160915&broadcaster_id=49440419&broadcaster_id=39176440&broadcaster_id=31239503' \
  -H 'authorization: Bearer YOUR_OAUTH_TOKEN' \
  -H 'client-id: YOUR_CLIENT_ID'
{"error":"Internal Server Error","status":500,"message":""}

Expected behavior

curl 'https://api.twitch.tv/helix/channels?broadcaster_id=31239503' \
  -H 'authorization: Bearer YOUR_OAUTH_TOKEN' \
  -H 'client-id: YOUR_CLIENT_ID'
{"data":[{"broadcaster_id":"31239503","broadcaster_login":"esl_csgo","broadcaster_name":"ESL_CSGO","broadcaster_language":"en","game_id":"32399","game_name":"Counter-Strike: Global Offensive","title":"RERUN: Outsiders vs. FaZe - Map 2 [Dust2] - ESL Pro League Season 15 - Group B","delay":0}]}

It’s really not worth cross posting since the same people monitor both the forums and the issue tracker.

And someone already noticed your issue

Since if you posted the issue on the forums we’d just send you to github anyway to report the issue.

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