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
Roman_argon
6 years agoExplorer | Level 4
Download failed when I use method save_url
Hi! I want to upload file to my dropbox with URL. I use swift and method:
client.files.saveUrl(path: pathDropbox, url: "https://www.google.com/imgres?imgurl=ht..... ").response....
I get response with asyncJobId, after it I call method:
client.files.saveUrlCheckJobStatus(asyncJobId: jobId).response......
But always get response(not error):
{
".tag" = failed;
failed = {
".tag" = "download_failed";
};
}
I used different URLs but no one was successful.
Best regards!
- Greg-DBDropbox Staff
It sounds like you're trying to save a file, presumably an image file, but based on the truncated URL you shared here, the URL you're using is actually to a Google Images HTML page, not to the image itself.
Accordingly, the save operation is failing. If you're trying to save an image file, get and use the actual URL to the image itself.
- Roman_argonExplorer | Level 4
Thank you for the quick help! It really was my mistake and now everything works.
But I have another problem - I get "download failed" when I try to load a big file(about 200 Mb). Are there some limits on the size of a file that I want to load?- Greg-DBDropbox Staff
Roman_argon There isn't a file size limit exactly, but there is a time limit. The transfer has to complete within 5 minutes. Is the job taking more than 5 minutes in this case?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,902 PostsLatest Activity: 9 hours agoIf 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!