Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The workflow:
- I have a Chooser to single select a folder, not a file, not multiple files
- I send the share URL for the folder to my back-end, to create a file browser
- The user selects several files within the shared folder somewhere
- I download the selected files first, and then ALL other files in the folder
Chooser works. The file browser works (with `files/list_folder` and `shared_link`). Downloading any files does NOT work.
If I do a `sharing/get_shared_link_metadata`, I get a `shared_link_access_denied`.
If I do a `sharing/get_shared_link_file`, I get a `shared_link_access_denied`.
I don't see direct download links in `files/list_folder`, so I need another API call using the file's `path` or `id`.
I don't think I can download shared files with `files/download`, because I can't enter a `shared_link` there, so I need a share API call.
Opening the shared folder link in the browser works. Downloading files from there works. Just not with the API.
How do I download shared files (or rather: files from a shared folder) with the API?? This is ridiculous. Am I super dumb, or is this super hard?
Using sharing/get_shared_link_file, with the 'url' and 'path' parameters, is the right way to get the file data for a file in a folder when you have the shared link for the folder. (And likewise, sharing/get_shared_link_metadata for the file metadata.)
Are you using an app registered for the "app folder" permission to make these calls though? That won't work unfortunately. I'm sending this along to the team to see if we can make that work in the future, but I can't offer a timeline for that.
Instead, use an app registered for the "full Dropbox" permission to make these calls and they should work. You can register one here if you don't already have one.
Hi there!
If you need more help you can view your support options (expected response time for a 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!