You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

tcnolan7's avatar
tcnolan7
Helpful | Level 5
2 years ago

dropbox embedder cannot download file

Hi all,

 

We are trying to use the DropBox embedder in our website to allow users to download files.  I have the DropBox folder shared and set to "Anyone with this link can edit".

 

The embedder works find, I can see the folders and files.  But if I click the download icon, nothing happens.  If I first login to my DropBox account (which is the owner of the folder), when I click the download icon, the file downloads.

 

Is there a share setting or embedder app setting I am missing?  We would like people to be able to download from the website without having to login to DropBox.

 

Thank you.

 

  • Greg-DB's avatar
    Greg-DB
    2 years ago

    tcnolan7 The team is still working on some aspects of this issue, but yes the file download functionality in particular should be working now.

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

    Thanks for the report! This is currently an issue when using the Dropbox Embedder with an "edit" link. To avoid this issue, please switch to using a "view" link instead.

    • tcnolan7's avatar
      tcnolan7
      Helpful | Level 5

      Hi Greg,

       

      Thank you for your response.  I did try the View share link but have the same result.  In dev tools I see this error:

      Failed to load resource: the server responded with a status of 403 ()

      www.dropbox.com/sharing/fetch_user_content_link:1

       

      If I copy the View share link directly into the browser and I'm not logged in to DropBox, that works fine.  It just seems to be the embedder code that has a problem.

       

      I am using the Embedder using JavaScript code found on this page: https://www.dropbox.com/developers/embedder

       

      Thanks for any thoughts

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

        Do you have a sample page with the view link I can try so I can look into this specifically for you? Feel free to open an API ticket here if you'd prefer to share privately. Thanks!

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 10 days ago
195 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!