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: 

Continuously getting 429 error when calling /list_folder/continue

Highlighted

Continuously getting 429 error when calling /list_folder/continue

Explorer | Level 4

The following request continously get 429 error though retried after a long time ( > 300 seconds) .

I also found that it takes 30 seocnds to get response after requested.

What's going on ?

 

curl -v -X POST https://api.dropboxapi.com/2/files/list_folder/continue \
> --header "Authorization: Bearer <access_token>" \
> --header "Content-Type: application/json" \
> --data "{\"cursor\": \"AAFrr_QzegXsblulVY0R6ikcQCp4S5PADdTwf6MgU8ezxuIGcEOEQMFLhqShMdYDz5iKCbiaDYD9HK2Z6Ry8yGUKsT1MkvdDj27kFH4seltD0XZNbPwYRfOzZB8dtpy9Lefv5JDspga4vMyaTCAhQ9IeGXeIrucaF5RHIAfnUAz78hTWM0rbBC0IsVFhYaFNpgbZXcEnzwuaPxPRfbPJPlicmhUCGWy60h4vuHteCgt6zXeYGGcNBvwMib17Ut_tNjN1V4o5hwfEgPVhuTsmujaVSixdkCtBHCPrqOSg0mNKIA_7NXbzLLQLKa9xDnmCFvAMMeRdK9lzZ8NVQ-37oe2-Z4J-CW7GB3jEQPRJcxeDhKvQNR0zlZ0M-eNOFl6zp2W1atCFDSYmRw1MTllKhSLctZnLYQpQtRS99c4UbO4QJ_10PhrjrefZbtiIAvWuEZTGOLZqRBGFc7iBPz5EAdB1xz-5JMceTX0eSZ8ZsXIXTCgGJ1p9s-Vpgg9o8ia3lM64n0a69bUpLwHRhb0XP8H77j_z-adeZXHKVlyI0NaWzCpRsVfJ8yWnXwXQ3aw9GDbK9OkDoGGhZoZ3ShsClyQrPokE3uNqoeXCl1xVGL7dU7qoR8V1Eja1dN-ExewUNlw0qujKXAV6d7CeBfvELmewhEAuoSvGv_Fw4wZLHZihiAsS01s6KbOxApz1behqTVuTlHX3uEUQQuFOPvCbO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ME\"}"
* Hostname was NOT found in DNS cache
* Trying 162.125.82.19...
* Connected to api.dropboxapi.com (162.125.82.19) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Dropbox, Inc; CN=api.dropboxapi.com
* start date: 2020-09-03 00:00:00 GMT
* expire date: 2021-09-14 12:00:00 GMT
* subjectAltName: api.dropboxapi.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
> POST /2/files/list_folder/continue HTTP/1.1
> User-Agent: curl/7.35.0
> Host: api.dropboxapi.com
> Accept: */*
> Authorization: Bearer <access_token>
> Content-Type: application/json
> Content-Length: 6118
> Expect: 100-continue
>
< HTTP/1.1 100 Continue


< HTTP/1.1 429 Too Many Requests
< Content-Security-Policy: sandbox allow-forms allow-scripts
< Content-Type: application/json
< Date: Wed, 04 Nov 2020 07:01:03 GMT
< Retry-After: 5
* Server envoy is not blacklisted
< Server: envoy
< X-Dropbox-Request-Id: 642b04bb771d4ec79ba3fc8e28eadb83
< Transfer-Encoding: chunked
* HTTP error before end of send, stop sending
<
* Closing connection 0
* SSLv3, TLS alert, Client hello (1):
{"error_summary": "too_many_requests/..", "error": {"reason": {".tag": "too_many_requests"}, "retry_after": 5}}

2 Replies 2
Highlighted

Re: Continuously getting 429 error when calling /list_folder/continue

Super Collaborator | Level 20

Hi @wen_hsiao,

Wow... Where have you got the "cursor" from? 🤔 Are you sure it's correctly represented? Looks enormous! Check previous call where you get this cursor from.

Hope this gives direction.

 

PS: For info about different errors take a look here.

Highlighted

Re: Continuously getting 429 error when calling /list_folder/continue

Dropboxer

This error indicates that there is too much activity occurring on the connected account, and so the request could not be serviced. Your app should wait the number of seconds indicated by the 'retry_after' value (5 seconds, in this case) before trying again.  The simultaneous activity could be coming from your app itself, or elsewhere, e.g., from the the Dropbox desktop client or another app. It can come from the same user, or another member of a shared folder. 

 

Also for reference, the cursors for /2/files/list_folder/continue are account-specific and encode information about that specific account. Depending on the account, if there is a lot of state to encode, the cursor can be large like this.

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?