Forum Discussion

Jiho P.'s avatar
Jiho P.
Explorer | Level 3
8 years ago

DropboxRateLimitError Threshold

Hi, we're developing (pre-production) and have DropboxRateLimitErrors on our requests. This happens more often when we try to get thumbnails for a gallery (and quickly cancelling them as user scrolls down).

 

It seems like the treshold of the rate limit is pretty low. What is the actual limit you guys use? Also, is this going to be different once we get approved for production?

 

Thanks!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. The limits operate on a per-user basis, and aren't different in production.

    It sounds like you could use a batch endpoint for thumbnails, so I'll send this along as a feature request for that.

    Also note that not all 429s or 503s indicate 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.