# Meetings Calendar widget causing an error while embedding HTML script

**URL:** <https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [March 27, 2025, 1:18pm UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789 "2025-03-27T13:18:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSc7](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@TSc7](https://community.hubspot.com/u/TSc7)\
**Post date:** [March 27, 2025, 1:18pm UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789/1 "2025-03-27T13:18:40Z")

</div>

Hi,

I tried to embed the HTML for our HubSpot Meeting-Calendar Tool, but when I paste the HTML Code in Elementor (HTML Widget), an error occurs named “unexpected end of file in comment”. When I go to the preview of my webpage, the meeting calendar is not displayed. Where is the problem?

 ![Screenshot 2025-03-27 130403.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/c/cc8499374e7d203b73690f72f39318e927e03ba3.png)

 ![a5e1549a-638c-4cfb-8201-6c5ec3b49d6b.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/52aa9b0ffea0a7b3e1b78c085af0efb3d2d55402.png)

---

<div class="post-metadata">

**Author:** ![MichaelMa](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@MichaelMa](https://community.hubspot.com/u/MichaelMa)\
**Post date:** [March 27, 2025, 2:21pm UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789/2 "2025-03-27T14:21:53Z")

</div>

Hmmm… that’s odd. I did go to my meeting link embed and it generated fine.

It looks like there is a missing - (hyphen) near the end of the code. Commented code uses \<!-- to start and --\> (double hyphen greater than sign) to close. If you add another hyphen into yours, it should fix the error.

`<!-- End of Meetings Embed Script -->`

---

<div class="post-metadata">

**Author:** ![TSc7](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@TSc7](https://community.hubspot.com/u/TSc7)\
**Post date:** [March 27, 2025, 2:30pm UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789/3 "2025-03-27T14:30:28Z")

</div>

Yes, I have seen that too, I changed it, but the Calendar is still not displayed.

---

<div class="post-metadata">

**Author:** ![MichaelMa](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@MichaelMa](https://community.hubspot.com/u/MichaelMa)\
**Post date:** [March 27, 2025, 4:10pm UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789/4 "2025-03-27T16:10:45Z")

</div>

Not sure why it’s not working for you. I was able to copy and embed your code fine in an HTML widget.

Is the code I converted from my embed to yours the same?

```lia-code-sample
<!-- Start of Meetings Embed Script -->
<div class="meetings-iframe-container" data-src="https://meetings-eu1.hubspot.com/christian-peksen?embed=true"></div>
<script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>
<!-- End of Meetings Embed Script -->

```

 ![MichaelMa_0-1743091755866.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/4/408f313624179cf9cd01fcdd9aee085abf9642e9.png)

---

<div class="post-metadata">

**Author:** ![TSc7](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@TSc7](https://community.hubspot.com/u/TSc7)\
**Post date:** [March 28, 2025, 6:35am UTC](https://community.hubspot.com/t/meetings-calendar-widget-causing-an-error-while-embedding-html-script/128789/5 "2025-03-28T06:35:44Z")

</div>

Strange, when I publish the page and open it in an Inkognito-Window, I can see it too. But when I am loggin in in Wordpress, it isn’t displayed.
