Open BarryCarlyon opened 4 years ago
Thanks. HLX-1322
Dupe of #48
So 48 has other context/testing
@mauerbac Is there an update on this issue? I've verified these longer ranges continue to produce this problem. We're having to hit the API more (for example, 4x more if we use weekly vs monthly) which is only straining things to get data out. This is becoming to be an important problem given the decent uptick in DMCAs towards Clips. Thank you for your time!
pinging @jbulava
@brandinarsenault - Quick question for you- are the missing clips lower in view count than the last returned clip, or is it supposed to be somewhere in the middle?
For example, does the last clip have 5 views, but the missing clip have 100?
Hi @lleadbet! I just ran a few queries to see what I could pull out, but I don't have an example as concrete as Barry's. I did, however, observe a very weird behavior, that where my limit is set to 100 in all of my queries, but often times its returning less than 100.
I performed 11 queries to the clips API:
The return:
My observations:
Brief description
Larger date ranges omit clips from the response when using Get Clips
https://dev.twitch.tv/docs/api/reference#get-clips
How to reproduce
https://dev.twitch.tv/docs/api/reference#get-clips
Calling
Fails to return the clip
But
Returns it.
The second date range is inside the first so the clip in question should be returned in the first lookup. One assumes other clips maybe missing from "large" date range lookups.
Expected behavior
Return all clips created inside the date range
Additional context or questions
Report on discord starts here
https://discordapp.com/channels/504015559252377601/523675960797691915/689052568780931117