SharePoint throttling: Receiving a 429 without any details

In an application I'm working, from time to time I see throttling related errors. In some cases I get a 429 error, like this:

429 TOO MANY REQUESTS. 


However, I also get errors, with only the HTTP code 429, without the response body or any details about what went wrong. Because of that, I guess it's not about the sheer number of request, but possibly something else.

Here is the code doing the job for me: https://gist.github.com/hariso/3bd6613316960c8824a6bca0236ac7ff

How can I find the exact reason for getting those 429s?

Replay

Category: api Time: 2016-07-28 Views: 0