Using v5 of the Twitch API, I’m trying to get the past broadcast videos for a channel. Intermittently, the API returns null data as follows:
{
"_total": 238,
"videos": []
}
This is the endpoint I’m calling:
https://api.twitch.tv/kraken/channels/23161357/videos?broadcasts=true&limit=50&offset=350
The offset value has no significance, the API randomly returns empty data regardless of the value. Try the same endpoint again, and you may get data back. Try again and you get empty data. It’s totally random.