Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
corw1n
3 years agoNew member | Level 2
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!
4 Replies
- Greg-DB3 years ago
Dropbox Community Moderator
Thanks for the report! We're looking into it and I'll follow up here once I have an update on this.
- Greg-DB3 years ago
Dropbox Community Moderator
This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
- justam3 years agoNew 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?
- Greg-DB3 years ago
Dropbox Community Moderator
justam Yes, we only support embedding Dropbox shared links via the Embedder, not using an iframe directly. Please follow the instructions here for using the Embedder.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!