cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Discuss Dropbox Developer & API

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

dropbox embedder cannot download file

dropbox embedder cannot download file

tcnolan7
Helpful | Level 5
Go to solution

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.

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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

View solution in original post

13 Replies 13

Greg-DB
Dropbox Staff
Go to solution

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
Helpful | Level 5
Go to solution

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
Dropbox Staff
Go to solution

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!

tcnolan7
Helpful | Level 5
Go to solution

Greg-DB
Dropbox Staff
Go to solution

Thanks, that's helpful. I just checked on this more specifically for you, and it looks like in this case that workaround unfortunately won't actually help. (There are a few variables at play here; apologies for the trouble.) In any case I've raised this with the team and I'll follow up once I have an update on the issue.

Здравко
Legendary | Level 20
Go to solution

:beaming_face_with_smiling_eyes: Let see... where is the rlkey parameter skipped on processing? :slightly_smiling_face: It becomes so when the things get changed from now for yesterday...

tcnolan7
Helpful | Level 5
Go to solution

Hi Greg,

 

If the Embedder is not an option for us, is it possible to achieve the same results using the API?  Basically we simply want to display a certain folder and allow the user to explore subfolders and download files.

 

Thank you.

 

 

Здравко
Legendary | Level 20
Go to solution

@tcnolan7 wrote:

..., is it possible to achieve the same results using the API? ...


Hi @tcnolan7,

Nothing can stops you do that. Of course, if we ignore that you would need to implement everything, implemented by the Embedder, yourself. A pros can be that you can make everything more customized. :winking_face:

Good luck.

Greg-DB
Dropbox Staff
Go to solution

@tcnolan7 Здравко is correct; it is possible to implement functionality like this using the Dropbox API, but it would be substantially more work. For instance, you could use the API from your server to call /2/files/list_folder[/continue] to list files/folders, and /2/files/download to download file content, and then display the desired information on your site.

 

Anyway, this issue for the Embedder is still open with the team, and I'll follow up here once I have an update on it.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    tcnolan7 Helpful | Level 5
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?