# Failed to execute postMessage on DOMWindow: The target origin provided does not match

**URL:** <https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow-the-target-origin-provided-does-not-match/77260>\
**Category:** Self-hosting\
**Created:** [January 4, 2018, 5:47pm UTC](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow-the-target-origin-provided-does-not-match/77260 "2018-01-04T17:47:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ingo\_Karstein](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ingo_karstein/32/206923_2.png) [@Ingo\_Karstein](https://meta.discourse.org/u/Ingo_Karstein)\
**Post date:** [January 5, 2018, 2:31pm UTC](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow-the-target-origin-provided-does-not-match/77260/3 "2018-01-05T14:31:08Z")

</div>

I had to add the white spaces in the error message because the platform did reject my post as a new user is only allowed to have only 2 URLs in a new post. 😉

I added the url “[doc.test.com](http://doc.test.com)” in the embedding settings of Discourse.

---

_[View the full topic](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow-the-target-origin-provided-does-not-match/77260)._
