cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Java API constant too_many_requests

Highlighted

Java API constant too_many_requests

Explorer | Level 3

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 1
Highlighted

Re: Java API constant too_many_requests

Dropboxer

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.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?