# Failed to execute 'postMessage' on 'DOMWindow'

**URL:** <https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow/296690>\
**Category:** Support\
**Tags:** embedding\
**Created:** [February 26, 2024, 12:07am UTC](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow/296690 "2024-02-26T00:07:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Joseph3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joseph3/32/365522_2.png) [@Joseph3](https://meta.discourse.org/u/Joseph3)\
**Post date:** [February 26, 2024, 12:32am UTC](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow/296690/3 "2024-02-26T00:32:17Z")

</div>

Hi Lilly, yes I followed that tutorial as well to double-check that the ghost-hosted discourse installation was the same.

I have attempted using their URL reference as below:

`discourseEmbedUrl: 'https://mysite.com<%= current_page.url %>'`

Is something incorrect there?

As well, but it resulted in the same error. Thank you for your prompt response.

---

_[View the full topic](https://meta.discourse.org/t/failed-to-execute-postmessage-on-domwindow/296690)._
