Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
kalumet
5 years agoExplorer | Level 3
Java API constant too_many_requests
Hey there,
I have a small application that does the following:
Download 2 Files locally.
Modify those 2 files programatically.
Wait 1 Minute.
Upload File 1.
Wait 1 Minute.
Upload File 2.
Usually, i do this once per day.
Although I wait 1 Minute before doing requests I still get these errors on a regular basis with the following error message:
com.dropbox.core.RateLimitException: {"error_summary": "too_many_requests/..", "error": {"reason": {".tag": "too_many_requests"}, "retry_after": 15}}
What can I do about it? As far as i know, i only make for requests?
Many thanks!
1 Reply
Sort By
- Greg-DB
Dropbox Staff
There are a number of reasons you can get a rate limiting response, e.g., due to the number of calls your app is making, or for other reasons such as other activity on the account or general Dropbox service issues.
In any case that you do get one of these though, the best practice is to retry the request, respecting the Retry-After header/'retry_after' value, if given, or using an exponential back-off, if not.
Can you have your app automatically retry the request after the specified number of seconds? Please let me know if that does or doesn't help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,001 PostsLatest Activity: 22 hours ago
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 or Facebook.
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!