# Error Embedding

**URL:** <https://meta.discourse.org/t/error-embedding/177504>\
**Category:** Support\
**Created:** [January 28, 2021, 12:38am UTC](https://meta.discourse.org/t/error-embedding/177504 "2021-01-28T00:38:26Z")\
**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:** [January 28, 2021, 12:47am UTC](https://meta.discourse.org/t/error-embedding/177504/2 "2021-01-28T00:47:00Z")

</div>

The code in your final screenshot is showing the URL of a Discourse topic as the value of the `discourseEmbedUrl`. The `discourseEmbedUrl` should be set to the canonical URL of the page you are adding that code snippet to. For example, if the URL of the post you are adding the snippet to was `https://example.com/blog/my-new-blog-post`, that is the value that you would use for the `discourseEmbedUrl`.

It also looks like there may be a formatting issue in your code snippet. Notice the large amount of space between the opening `'` and the beginning of the URL.

---

_[View the full topic](https://meta.discourse.org/t/error-embedding/177504)._
