I have a worker that continuously fetches the followers of some users.
However sometimes the API returns 0 followers at the beginning, the middle, or end, but the next cursor still points to the user that’s 100 entries further away.
Example:
User has a total of 300 followers…
Request: 100 followers fetched
Request: 0 followers fetched
Request 100 followers fetched
End
The status code of the response is OK, so the header and other meta-data is not reliable.
How frequently does this happen?
I experience this about 3-5 times a day.
Is it on a consistent user or many user?
It is not on a single user. It happens on multiple users. But: It didn’t happen on all users. Another but: If it occurred on a specific user X, the effect was there for a long time.
Is it always the middle request?
No, it’s not always the middle request. I realized this after querying a bunch of users. An alternative request log looked like this.
User X had 4000 followers. So it takes 40 requests, returning 100 followers / request.
Request: 100 followers fetched (Cursor set)
Request: 100 followers fetched (No cursor set???)
End
Which user are you querying?
Just a few of them are: 192188527, 176934358, 122181552, 93121714, 151828391