cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and 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: 

error not showing at embed

error not showing at embed

tranvu
Explorer | Level 4

Hi, I have an error displaying the embedded part, although I have followed the instructions correctly, but when I show the 1MB pdf file link, it can be displayed, but the pdf link is over 9mb but it doesn't show up.
Hope to get help, thank you.

It used to work fine before, but it's only been there for a few days

14 Replies 14

Hannah
Dropbox Staff

Hey @tranvu, thanks for joining our Community here.

 

Would you mind giving us a bit more info on the issue you're facing?

 

What are you trying to accomplish? Does this have to do with previewing this PDF file?

 

And if so, where? On the Dropbox website or mobile app?

 

If you can send us some clarifications and also a screenshot of the error you mention, that would be really helpful.

 

Thanks!


Hannah
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

tranvu
Explorer | Level 4

Hannah
Dropbox Staff

Thanks for the screenshots, @tranvu.

 

Just to be clear, are you using the Dropbox API in order to embed the preview of the file to your website, or are you possibly trying to force a shared link to preview?


Hannah
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

tranvu
Explorer | Level 4

I have a file on dropbox and want to show previous preview on web page. so I used the a shared link to embed the preview of the file to your website.

thanks for your support

Jay
Dropbox Staff

Hi @tranvu, when previewing the shared link, are you using the raw=1 link to force it to render in a browser?


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

tranvu
Explorer | Level 4

hi, 
I don't use raw in share link, I got the link directly from the copy link button.
Note: I tried adding raw=1 or /s/raw to the share link but it still doesn't work (*dropbox.com/s/raw OR dropbox.com/s/..../file_name?raw=1)

tranvu_0-1681142593615.png

 

Nancy
Dropbox Staff

Hey @tranvu! Sorry to jump in, too. 

 

You mentioned in the beginning of this thread that you followed some specific instructions. Can you please explain which steps you’ve taken exactly, so that we can isolate the issue further?


Nancy
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

tranvu
Explorer | Level 4

I followed the steps:
Step1: create and setting app on dropbox.com/developers.
Step2: visit dropbox.com/developers/embedder and follow the instructions "Setting up the Embedder".
Step3: Copy the link of the file in my dropbox account and replace it with the href in this code "<a
href="https://www.dropbox.com/s/u0bdwmkjmqld9l2/dbx-supporting-distributed-work.gif?dl=0"
class="dropbox-embed"
></a>".

Jay
Dropbox Staff

Thanks for the info, I've moved this to the API section for more specialist help.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    tranvu Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?