We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

deeuu's avatar
deeuu
Explorer | Level 4
7 years ago

API Limits using /2/files/download

Hello,

 

I'm developing a single-user app (1 access token), via the Python AP I, to share many files (~200K totally approx 1TB) from a Business account.

 

As such, the plan is to use Dropbox.files_download_to_file

 

1. Would Rate Limiting cause issues here, e.g. what if `files_download_to_file` was used to download the entire content of a business account?

 

2. Business account traffic is limited to 200GB per day, but apparently this does not apply to authenticated access, such as in this application.

 

I'd really appreciate any input on these two points.

 

Many thanks

 

  • 1.  The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented, so I can't say off hand if you would or wouldn't hit the limits. Also note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not.

     

    2. That's correct, the 200 GB traffic limit is for shared link traffic, not authenticated API traffic.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    1.  The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented, so I can't say off hand if you would or wouldn't hit the limits. Also note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not.

     

    2. That's correct, the 200 GB traffic limit is for shared link traffic, not authenticated API traffic.

    • Nouredin's avatar
      Nouredin
      New member | Level 2
      Hi Greg,

      Do paid accounts also have limits on api traffic?
      And am I going to receive a warning of reaching the limit before the service stops (in both free and paid)?

      Thanks
      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Nouredin The general Dropbox API rate limiting system applies to all account types, including both free and paid. If you hit the limit, the API call(s) will fail with a 429 or 503 as described earlier. There isn't a warning ahead of when you hit the limit, but the period for which you are blocked is generally relatively short and can be found in the Retry-After header.

        (You didn't mention what particular functionality you're using, but note that there is an additional limit specifically for uploading to certain Dropbox Business teams that works differently. You can find information on that here.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 3 months ago
325 Following

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!