Ask your own question.

Someone from our team or the Crisp community will answer publicly.

We will ask your email to let you know when an answer is published.

Thanks! We will let you know when an answer is published.

Tell us why you are not satisfied.

Tell us how we can improve, and what is missing.

We will answer if we need more details, and improve this help section.

Thanks! We will get back to you if we need more information.

Why am I getting an "invalid chatbox code" error ?

This error code is in general due to a configuration issue on your end

1. Lock chatbox to domain option (95%)

For security concerns, added an option "Lock the chatbox to website domain (and sub-domains)". By enabling this option, Crisp disallow other website domains to use your Crisp.

  • If your Crisp website domain is, then your chatbox is locked for
  • If you are using localhost, your chatbox is locked to

In general, you have to strictly use this lock option, only if you understand this security concern.

Otherwise, just disable it:

  • Go to your website settings: click on the "Settings" icon on the left sidebar, then click on "Websites" and select the target website in the list
  • Select Chatbox & Email settings
  • Go to chatbox security
  • Disable "Lock the chatbox to website domain (and sub-domains)"

toggle lock chatbox
Disable the lock chatbox to website domain option

2. Wrong chatbox code (5%)

Maybe you did a wrong copy-paste. In general, your chatbox code should look like this:

<script type="text/javascript">

Your WEBSITE_ID whould look XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX with only alphanumeric characters

Baptiste Jamin
Was this article helpful?YesNo
Thanks! 👍
Don’t find what you are looking for?

Ask your own question.

Ask Now