We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
foranuj
2 years agoNew member | Level 2
Error 429 Rate limit - Too many requests
Hi, We are dealing with an application that's job is to retrieve around 10-20 images from dropbox, and pass their shared links (2 per image, one for the image and one for it's thumbnail) to a Can...
Здравко
2 years agoLegendary | Level 20
foranuj wrote:...As you can see, we're operating with a small slice from startIndex to endIndex which is generally 10+ images. I'm not sure why we would hit a rate limit with such small number of API calls in general. ...
Hi foranuj, Your issue is not related to how many are the API calls, but how many of them are executed at the same time. When particular namespace got accessed, all calls there are strictly serialized! It's tolerated few calls get in waiting to be serialized, but when those calls become too much, then such rate limiting happens. Try serialize your calls client side and I hope such rate limiting would decrease. You should always be ready to handle such rate limit though! It can happen, cosa some other application try access to the same namespace at the same time, by any chance. Just a recall: currently you're calling all 10+ calls at the same time - something that force server side conflict between calls! When such limit happens just respect the noted delay in response header, if there is such, or organize your own exponential backoff and perform the call anew.
Hope this helps.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!