“unknown” OAuthException when iterating over pagination-Collection of common programming errors

I get this error semi regularly when iterating over pagination of a user’s feed (ala https://graph.facebook.com/user_id/feed)

{"error":{"message":"An unknown error has occurred.","type":"OAuthException","code":1}}

If I adjust my limits, sometimes I can get it to work, however, sometimes even adjusting down to 1 doesn’t work. If I adjust the until value, I can sometimes get it to work as well.

It’s as if there’s corrupt data on facebook’s end that I have to force it to skip over. Is there an appropriate/best practice way to handle this situation?

Because it works for the majority of the user’s feed accesses, it seem that it isn’t a access token issue, but actually a bug on facebook’s side.