Your workflow is unique π¨βπ» - tell us how you use Dropbox here.
Forum Discussion
bb-jacin
3 years agoExplorer | Level 3
/files/save_url has high rate of failure
Hi, I am currently testing using the /files/save_url API endpoint and am experiencing a high rate of failure. I am testing using a set of 6 small image files stored in S3-compatible storage environments, and using their public URLs with the aforementioned API endpoint. In every test run, there is at least one file that fails to be created in Dropbox, and it is a different file from the set each time. A file that fails in test #1 will succeed in tests #2, #3 and fail again in test #4 etc. These image files are standard .jpg files and generally 500kb or less.
Upon checking the status of the API requests using /files/save_url/check_job_status, the failed IDs return the "download_failed" response. I know there is a 5 minute limit on file transfers using /files/save_url, however all these failed IDs are returning their failure response only a few seconds after initiating the API request.
It may be worth mentioning that the API requests to /files/save_url are occurring all together. I don't believe the URLs are being rate-limited on the S3-compatible storage side, as it is tested with multiple environments, including self-hosted storage without such restrictions.
Done some googling, found some users with the same issue, but unable to find anything that resolves the issue.
Some example failed job IDs:
nJekCKfZPnwAAAAAAAAAAQ
aPQH1k_ei7cAAAAAAAAAAQ
Is there a way to resolve this issue?
14 Replies
- DB-Des15 days ago
Dropbox Community Moderator
Weβre not able to increase rate limits for a specific app, user, or team. That said, I'll pass this along as a feature request to increase the 15 minute time-out. I can't promise if or when that might be implemented though.
- nyou04516 days agoExplorer | Level 4
As predicted:
FAILED after 952s https://quadrant-universityofauckland.s3.amazonaws.com/delivery/year%3D2025/month%3D07/day%3D06/000004_0_c8601ccb-23fe-4e2d-8e3c-043e13aa37b4_20260203_185011_00313_7w84i.gz?AWSAccessKeyId=AKIAZDICVH6VPNMUQAXQ&Signature=49QsO2MiZxeObXnnsibD6cq94qY%3D&Expires=1770581161 2147247536 bytes SaveUrlResult('async_job_id', 'IBewBfjP7IIAAAAAAAAAAQ')
- nyou04517 days agoExplorer | Level 4
My colleague has just sent me an email asking me to copy 3.8TB from an AWS S3 bucket into his Dropbox team folder. Some of the files in the bucket are 1.7GB. At ~1MB/s, these files will take ~29 minutes to save. Which is greater than the 15 minute timeout. Can this 15 minute timeout please be increased?
- DB-Des1 month ago
Dropbox Community Moderator
Hi nyou045β
Apologies, I looked into this deeper and found that your samples were not explicit rate limiting, but were actually hitting the same internal constraint as discussed earlier in this thread. This is still open with the team and I'll follow up with any updates.
- nyou0451 month agoExplorer | Level 4
The rate limiting seems a bit too low given how slow it is - could that rate limit be increased? I was trying to save several TB. It took several days, due the lack of parallelisation. I expected the official Dropbox Python SDK to handle that. It's not my infrastructure, it's AWS S3.
- DB-Des1 month ago
Dropbox Community Moderator
Hi nyou045β
Thank you for providing those details. Based on what we're seeing, the download failures you're encountering with the /2/files/save_url endpoint are due to rate limiting. In other words, your integration is sending too many requests within a short period of time, and the API is throttling those requests as a result.
As a recommendation, apps should be written to handle rate limit responses automatically. 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, it's important to note that rate limiting doesn't reduce or "throttle" transfer speeds for requests that are successful. If you're seeing slow performance on requests that do succeed, that's most likely due to environmental factors such as network conditions between your infrastructure and Dropbox, bandwidth/latency constraints, DNS/proxy/firewall behavior, or resource constraints on the host running the requests (CPU, memory, disk, or concurrency limits).
- nyou0451 month agoExplorer | Level 4
Looks like this is still a problem in 2026. Here's an example errors output from my Python script:
FAILED after 9s https://nz-imagery.s3.amazonaws.com/auckland/auckland_2022_0.075m/rgb/2193/AY30_1000_4743.json 1162 bytes SaveUrlResult('async_job_id', 'XGNn-ChuPpYAAAAAAAAAAQ') SaveUrlJobStatus('failed', SaveUrlError('download_failed', None))
FAILED after 6s https://nz-imagery.s3.amazonaws.com/auckland/auckland_2022_0.075m/rgb/2193/AY31_1000_2427.json 1161 bytes SaveUrlResult('async_job_id', 'wE6jqobcPoEAAAAAAAAAAQ') SaveUrlJobStatus('failed', SaveUrlError('download_failed', None))
FAILED after 6s https://nz-imagery.s3.amazonaws.com/auckland/auckland_2022_0.075m/rgb/2193/AY31_1000_3031.json 1163 bytes SaveUrlResult('async_job_id', '8M1dCfp8QgUAAAAAAAAAAQ') SaveUrlJobStatus('failed', SaveUrlError('download_failed', None))
When it does work, the performance seems a lot lower than I expected too - it takes ~95s to save a 99.4MB file (1MB/s, 8.374Mbit/s)
Copied after 95s https://nz-imagery.s3.amazonaws.com/auckland/auckland_2022_0.075m/rgb/2193/AY31_1000_3520.tiff 99435762 bytes
- Greg-DB2 years ago
Dropbox Community Moderator
julio_diniz_perdigao There isn't webhook functionality specifically for /2/files/save_url jobs, but webhooks would be sent for files added via /2/files/save_url in a connected account just like files from any other source. To check the status of any particular /2/files/save_url job, you should poll /2/files/save_url/check_job_status.
- julio_diniz_perdigao2 years agoExplorer | Level 3
Great! Another question: This method has an webhook or we need to check for updates periodically using save_url/check_job_status to see if process was done?
Thanks
- Greg-DB2 years ago
Dropbox Community Moderator
julio_diniz_perdigao The documentation for /2/files/save_url is correct; the limit was changed from 5 minutes to 15 minutes in 2023.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!