Forum Discussion

Michmm90's avatar
Michmm90
New member | Level 2
6 years ago

Dropbox download API is not working for shared files

Hello

I want to download a file someone shared with me using the API, meaning get file content in response content same as in "files/download" call.

Unfotunately this call does not work for shared files, saying that "path not found".

Also calling "sharing/get_shared_link_file" fails, saying that "service unavilable".

Please see the following contradition-

here you say downloading the shared ("received") files is done using the "sharing/get_shared_link_file" call:

https://www.dropboxforum.com/t5/API-Support-Feedback/Can-we-download-shared-files-directly-using-Dropbox-API/td-p/258046

but here you say "I unfortunately don't have a solution to offer for downloading these "received" files programmatically":

https://www.dropboxforum.com/t5/API-Support-Feedback/Dropbox-download-api-is-not-working/td-p/323213

What is going on here ?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Michmm90 Thanks for the report! As you found, downloading received files via /2/sharing/get_shared_link_file is unfortunately not currently working, nor is it possible to do so via /2/files/download. I'm afraid that means the API doesn't currently have a working way to download these files programmatically. This is open with the team, but I don't have a timeline on a potential solution to offer.

    • Greg-DB's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff

      This should be fixed now. Please try this with /2/sharing/get_shared_link_file again and let me know if you're still seeing any issues.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 7 hours ago
350 Following

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 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!