2025 sparked some incredible conversations across our community 👩💻. Discover the highlights and see what’s ahead in 2026.
Forum Discussion
pymrofile
4 years agoNew member | Level 2
dbx.sharing_list_shared_links only returns empty set
Hi, I'm unable to use the dropbox api to find shared links. The sharing_list_shared_links method only returns an empty set despite having documents I share within the scope I've specified. When I paste a sharing link into the browser it works, but not using the python sdk.
I've also tried using the following methods to download the file given the shared url (which does work in browser) but these throw an ApiError(GetSharedLinkFileError('shared_link_access_denied', None)) even though I've added permissions for shared link access and generated a new token after making that change. The methods that throw this error are:
dbx.sharing_get_shared_link_file_to_file
AND
dbx.sharing_get_shared_link_file
Would really appreciate some help, have been stuck on this for a while. Ultimately the goal is to download a file (40 page pdf) from python given the sharing url for it.
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
Can you share the code you're using to call sharing_list_shared_links so we can see what parameter(s) you're setting?
Also, what kind of shared link are you expecting/using? Could you maybe share an example for reference?
You can also open an API ticket here if you'd prefer to share privately. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!