cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in learning how media industry leaders use Dropbox Replay? Register for our webinar here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dbx.sharing_list_shared_links only returns empty set

dbx.sharing_list_shared_links only returns empty set

pymrofile
New member | Level 2

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 1

Greg-DB
Dropbox Staff

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!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?