@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.
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)
@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.
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.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!