Sporadic 500 Errors that disappear after a while



I’m experiencing 500 errors across a number of accounts when I try to access the user’s timeline with the REST API. These errors happen very infrequently per account but overall it happens enough to be concerning.

There doesn’t appear to be a pattern as far as which accounts it is affecting nor what time it happens. Also, the errors eventually clear up for an account and my app is able to function as normal unless the errors crop up again for the account later.

I’m using the twitter4j library to access the API and the parameters to the request only include a max_id and/or a since_id plus a result list size of 50.

Any insight would be helpful.