# JavaScript embed won’t display embed, console log shows: Failed to execute postMessage on DOMWindow…

**URL:** <https://meta.discourse.org/t/javascript-embed-won-t-display-embed-console-log-shows-failed-to-execute-postmessage-on-domwindow/169374>\
**Category:** Support\
**Created:** [November 5, 2020, 8:58pm UTC](https://meta.discourse.org/t/javascript-embed-won-t-display-embed-console-log-shows-failed-to-execute-postmessage-on-domwindow/169374 "2020-11-05T20:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [November 6, 2020, 8:30pm UTC](https://meta.discourse.org/t/javascript-embed-won-t-display-embed-console-log-shows-failed-to-execute-postmessage-on-domwindow/169374/2 "2020-11-06T20:30:26Z")

</div>

> [@seeminglee](#):
>
> I’ve updated the URL to only show the embed while I debug this so our visitors won’t see these

Are you sure the `?discuss=1` query param isn’t the cause of the issue?

Are there any security permissions on your blog category, or is it set to allow the group ‘everyone’ to Create / Reply / See?

What version of Discourse is your site on?

Also, what is the full error message that you see after the `Failed to execute postMessage on DOMWindow` text? I would expect it to be something like `The target origin provided (<target_url>) does not match the recipient window's origin (<origin_url>)`.

---

_[View the full topic](https://meta.discourse.org/t/javascript-embed-won-t-display-embed-console-log-shows-failed-to-execute-postmessage-on-domwindow/169374)._
