Search code examples
iframetumblr

Tumblr embeded posts return Refused to display 'https://www.tumblr.com/dashboard' in a frame because it set 'X-Frame-Options' to 'deny'


I have been using tumblr embed in my website for quite some time. However, recently it stopped working. It throws this error:

Refused to display 'https://www.tumblr.com/dashboard' in a frame because it set 'X-Frame-Options' to 'deny'

Even their own embed endpoint is throwing the same error: $blogId.tumblr.com/post/$postId/embed

I don't think this is ssl issue. My site is served over ssl and tumblr blog is marked to always serve on ssl.

Any idea how to fix this?

Chrome Version 66.0.3359.181 (Official Build) (64-bit). But happens on opera and vivaldi as well.

Thanks.


Solution

  • This looks like fixed after creating multiple tickets from Tumblr help center. No need to do any code change. They fixed their policy for iframing which enables embedding tumblr posts in other domains.