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
amit-kumar
6 years agoExplorer | Level 4
Dropbox download api is not working
Dropbox download is not working, we are getting this error message 'service unavailable' with error code 503.. what is the alternative of this API. Api endpoint: https://content.dropboxapi.co...
Greg-DB
Dropbox Staff
Thanks! That's helpful. Apologies for the trouble. I meant that you should be able to pass in the id for a file as retrieved from /2/files/list_folder, like in your original post, even if they're in a shared folder in the account, for instance.
The files listed from /2/sharing/list_received_files aren't actually in the connected account (they're actually in the sharer's account), so the /2/files/download call won't work in this scenario. I'll ask the team to support that on /2/files/download, but I can't promise if/when that would be implemented.
amit-kumar
6 years agoExplorer | Level 4
Thanks!
Our project is delayed bcoz of api issues.
We wants to download shared files, please tell us the api which is useful for this task, if not any kind of api exists then please fix these issues ASAP.
- Greg-DB6 years agoDropbox Staff
Thanks for the context. Right now, I unfortunately don't have a solution to offer for downloading these "received" files programmatically. This is open with the team, but I can't offer a timeline for when that may be possible. I'll follow up here once I have any update on this.
- amit-kumar6 years agoExplorer | Level 4
hello, Greg-DB any solution for downloading "received" files? and when that would be implemented?
- Greg-DB6 years agoDropbox Staff
No, unfortunately I don't have an update on this.
- astaley6 years agoNew member | Level 2
You should be able to convert the ?dl=0 to ?dl=1 given to you in the preview url.
- Greg-DB6 years agoDropbox Staff
astaley Thanks for the note! That looks like a usable workaround if the link is publicly accessibly. To clarify for others, you can directly download from links like this by using the URL parameters documented here. This is unrelated to the actual Dropbox API though, and would only work if the link is publicly accessible, e.g., it doesn't have a password, etc.
The original issue on this thread, with the error returned by /2/sharing/get_shared_link_file for this kind of link, is still open. Changing the "dl" parameter doesn't affect that.
- astaley6 years agoNew member | Level 2
Ah sorry, I was actually really unclear. I don't even think that works if the doc is publically available.
It only works if you possess an HTTP cookie for the user, as the dl links are cookie authenticated, not oauth. I'm not sure what type of app OP is building, but this would be workable on say a mobile app (or a personal one)
- Greg-DB6 years agoDropbox Staff
amit-kumar The 503 issue on get_shared_link_file should be fixed now. Please try again and let me know if you're still seeing any issues.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!