You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

ghfhfhhft's avatar
ghfhfhhft
New member | Level 2
2 years ago

Re: Getting error by calling https://api.dropboxapi.com/2/sharing/list_shared_links

The error says 

`POST https://api.dropboxapi.com/2/sharing/list_shared_links` resulted in a `429 Too Many Requests` response: {"error_summary": "too_many_requests/", "error": {"reason": {".tag": "too_many_requests"}}}

i want to know how to fix that if you could find out because i want to use the PortraitPanel for a mod and i guess i i clicked it too many times so if you could please tell me how to do this that would be nice,

And if you can can you respound  to this as soon as you have the chance.

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

    The Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that, and we cannot increase the limits for any particular app, user, or team. Apps should be written to handle these rate limit responses automatically. Also note that not all responses with a 429 or 503 status code indicate explicit rate limiting, but in any case that you get a response with 429 or 503 status code 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. I recommend referring to the error documentation and Error Handling Guide for more information.

     

    Also, for /2/sharing/list_shared_links in particular, make sure you set 'direct_only' to 'true' whenever possible as that reduces the load.