cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more 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: 

Generating Preview for a shared document

Generating Preview for a shared document

Mhd
Explorer | Level 4

Hello, 

I am working on a system where users can submit sharing links from dropbox.  They are also able to preview these shared files.

When a user submits a file: we make a request to t get_sharing_link_metadata endpoint and get the id.
When a user wants to preview the file, we make a request to get_file_preview passing the id of the file.


Recently we had a situation where the shared file is in a personal folder, the file is shared through a sharing link but the folder is not shared with any other user.

When calling get_file_preview with the id of this file, we are gettting a "path not found " error.

- Am I correct in assuming that this because of the folder access right?
- Is there a way around it? an end point for previewing shared links?

Thank you

1 Reply 1

Greg-DB
Dropbox Staff
Would you be able to share a sample so I can make sure I understand the particular scenario you're referring to, and see if there if there's a solution I can offer? A sample link, the code you're running, and the error you're getting would be helpful. Thanks in advance!
Need more support?
Who's talking

Top contributors to this post

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