Forum Discussion

gagsbh's avatar
gagsbh
Helpful | Level 5
5 years ago

Too Many Requests Error

Hello Greg,

 

I am using the following Dropbox Team API - ListFolderContinueAsync in our production Dropbox application.
result = await clientadmin.Files.ListFolderContinueAsync(model.basechangetoken);

However, this is giving error:

too_many_requests/...
at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__17.MoveNext()

Can you please help me know how to resolve this issue.

 

Thanks,
Gagan

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

    The Dropbox API does have a rate limiting system that can result in errors like this. In any case that you get one of these 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. Make sure you're not submitting a large number of requests per user, or multiple identical requests at the same time.

    You can find more information about the errors that the API returns here. In the .NET SDK in particular, you can get the Retry-After value from RateLimitException.RetryAfter.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 hours ago
352 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!