@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)
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.