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

corw1n's avatar
corw1n
New member | Level 2
2 years ago

dropbox embedder getting "ancestor violates the following Content Security Policy"

in chrome the console error is:

 

Refused to frame 'https://www.dropbox.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

 

in firefox error on page:

 

Firefox Can’t Open This Page

To protect your security, www.dropbox.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

 

all domains have been added to app setting: Chooser / Saver / Embedder domains

no external domains have changed.

 

please advise.

 

 

  • This should be fixed now. Please let us know if you're still seeing any issues. Thanks!

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

    Thanks for the report! We're looking into it and I'll follow up here once I have an update on this.

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

    This should be fixed now. Please let us know if you're still seeing any issues. Thanks!

    • justam's avatar
      justam
      New member | Level 2

      Hi, I am trying to embed dropbox files in my app like this <iframe src="<shared_link>" ... > the iframe without using the Embedder and received the same error.  Do we have to use Embedder when embedding?

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

797 PostsLatest Activity: 2 days ago
199 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!