Getting empty responses from new Twitch API

I’m getting empty responses from the Twitch API when using certain parameters. It’s hard to reproduce because it happens maybe 25% of the time.

For instance, calling Streams with the language and game_id parameters will sometimes return just an empty response. If I call Streams without these parameters it works everytime but with a combination like this maybe 1 out of every 5 times I get no results back.
https://api.twitch.tv/helix/streams?game_id=33214&language=en

This is the empty response I get sometimes.
{
data = (
);
pagination = {
};
}

Known quirk on helix, do the parameters in alphabetical order as noted in another post:

So https://api.twitch.tv/helix/streams?language=en&game_id=33214

G comes before L

OP’s URL is correct. It’s jsut not behaving 100% of the time

derp. well then!

It’s happening 100% today now. If I remove the language parameter is works fine but if I include a game_id and language parameter it returns an empty response.

This is happening to me too.
I get an empty response when only using user_id OR user_login.
e.g. /streams?user_login=xxxxx

Same here. Getting empty response with the new API call

https://api.twitch.tv/helix/streams?user_id=278668787

but proper response with v5 API and same live channel

https://api.twitch.tv/kraken/streams/278668787

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