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

sweengau's avatar
sweengau
Explorer | Level 3
3 years ago

Error {".tag":"failed","failed":{".tag":"download_failed"}} is returned when uploaded 13 files

Hi Support,

 

I am using Dropbox API https://api.dropboxapi.com/2/files/save_url to upload 13 files (1 excel and 12 PDF). When I tried on few attempts, the same set of files are not uploaded to dropbox. 

 

Then, I have use https://api.dropboxapi.com/2/files/save_url/check_job_status to check the job status of each file being uploaded.

 

From the testing, I noticed some job status return error {".tag":"failed","failed":{".tag":"download_failed"}} even there is successful attempts to upload the same file to dropbox. 

 

Question:

1. Is it common that files uploaded /files/save_url failed without any valid reason?

2. Does the files uploaded via /files/save_url has restriction like file size, maximum uploaded file in same instance and etc from the API?

3. How to mitigate the issue (other than re-upload the same file again) by using Dropbox API?

 

regards,

Sam Wong

  • 1. I don't have metrics to share on the failure rate for this endpoint.

    2. There is a 5 minute transfer limit on these operations. You can find the documentation here.

    3. Retrying the operation is generally the best way to handle this.

     

    We may be able to look into these specific failures for you though. If you'd like us to do so, please share a few sample job IDs for failed jobs. You can open an API ticket here if you'd prefer to communicate privately.

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

    1. I don't have metrics to share on the failure rate for this endpoint.

    2. There is a 5 minute transfer limit on these operations. You can find the documentation here.

    3. Retrying the operation is generally the best way to handle this.

     

    We may be able to look into these specific failures for you though. If you'd like us to do so, please share a few sample job IDs for failed jobs. You can open an API ticket here if you'd prefer to communicate privately.