> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deskhoot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> When the chat doesn't show or doesn't open

## The chat button

> [accordion] Why doesn't the chat button show on my website?
>
> Check these, in order:
>
> 1. The code is on the page, before `</body>`.
> 2. Your site is published, and its cache is cleared.
> 3. Your ad blocker is off for your website.
> 4. The project ID in the code matches your [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install) page.

> [accordion] Why is the button plain blue, without my design?
>
> This website is not in **Allow your websites**. Add it under [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install), written exactly as in the browser, then select **Save**.
>
> If the website is already allowed, check that the project ID and any `data-inbox` in the code match your **Install** page.

> [accordion] Why does it show on some pages and not others?
>
> The code has to be on every page. Paste it into your site-wide footer, not into one page.

> [accordion] Why don't my changes show on my website?
>
> * Select **Save** on [**Customize**](https://app.deskhoot.com/app/channels?tab=widgets\&page=customize).
> * Wait a minute, then reload your website. An open page keeps the old look.

> [accordion] Why does "Powered by DeskHoot" still show after I switched it off?
>
> "Powered by DeskHoot" always shows in the chat. The switch does not hide it.

## Opening the chat

> [accordion] Why does the chat say "Chat is unavailable"?
>
> This website is not in **Allow your websites**. Add it under [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install), then select **Save**.

> [accordion] Why does it work on my live site but not on staging or my computer?
>
> Each address is its own website. Add your staging address, or `http://localhost:3000` for your computer, to **Allow your websites**.

> [accordion] Why did it stop working after I changed my domain?
>
> Add the new address to **Allow your websites**. `https://example.com` and `https://www.example.com` count as two websites.
>
> On Wix, also add the code again: Wix removes custom code when the domain changes.

> [accordion] Why does the chat say "This support widget is unavailable"?
>
> The code names a widget that no longer exists, or one whose inbox is archived. Copy the code again from the **Install** page of the widget you want.

> [accordion] Why does the chat say "Support could not connect"?
>
> The chat could not load within 20 seconds. Usually the website is not in **Allow your websites**. Add it.
>
> Otherwise something on the visitor's network or browser blocks `widget.deskhoot.com`. They can then select **Open support** to chat in a new tab.

> [accordion] Why does the chat say "Your chat session expired"?
>
> Most often the website was removed from **Allow your websites** while the chat was open. Add it back, and the visitor reloads the page. It can also show after a long time away, and reloading fixes that.

> [accordion] Why does the chat open in a separate window?
>
> The visitor's browser blocks storage inside embedded chats. The chat shows **Open chat**, and selecting it carries on in a new window.

> [accordion] Why don't customers see their earlier conversations?
>
> A guest's conversations stay in the browser they used. For history on every device, [verify your signed-in customers](https://docs.deskhoot.com/sdk/identify.md).

## The Install page

> [accordion] Why does Install still say "Waiting for the first visit"?
>
> A widget counts as installed when someone opens the chat on an allowed website. Open your website, select the chat button, then select **Check now** on [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install).

> [accordion] Where do I find my code again?
>
> In [**Channels › Widgets › Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install).

## Messages and emails

> [accordion] I sent a test message. Where is it?
>
> In [**Conversations**](https://app.deskhoot.com/app/conversations), under **Needs reply** or **Unassigned**. If AutoPilot is on for the widget, look under **AutoPilot**.

> [accordion] Why didn't my customer get an email about my reply?
>
> Check these, in order:
>
> 1. The widget's [**Notification**](https://app.deskhoot.com/app/channels?tab=widgets\&page=notification) is not set to **Don't email**.
> 2. The customer has a verified email address. Guests have none.
> 3. They had not seen your reply, and had not written back, 5 minutes after it.
> 4. They have not unsubscribed, and have had fewer than 6 emails today.
>
> **Recent emails** on the Notification page shows what was sent. See [Notification](https://docs.deskhoot.com/widgets/notification.md).

> [accordion] Why did my customer get an email for a reply they had already read?
>
> [Read receipts](https://docs.deskhoot.com/widgets/read-receipts.md) is off for that widget, so DeskHoot cannot tell what they have read.

## For developers

> [accordion] Why is DeskHoot not defined?
>
> Your code ran before the chat loaded. [Queue the call](https://docs.deskhoot.com/sdk/install.md#call-deskhoot-before-it-loads) and it runs once the chat is ready.

> [accordion] Why is my signed-in customer still a guest?
>
> The signature was refused. The reason is in the browser console, or in the error `setUser()` returns. See the [Verify users errors](https://docs.deskhoot.com/sdk/identify.md#errors).

> [accordion] Why does my Content Security Policy block the chat?
>
> Allow `https://widget.deskhoot.com` in your policy. See [Content Security Policy](https://docs.deskhoot.com/sdk/install.md#content-security-policy).

> [accordion] Why do I get "A DeskHoot client name cannot be reused"?
>
> Two different widgets are on the same page. Give each its own `data-client` name. See [A second widget](https://docs.deskhoot.com/sdk/install.md#a-second-widget).

## Related

> [card] [Installation](https://docs.deskhoot.com/install/website.md)
>
> Add DeskHoot to your website.

> [card] [Other platforms](https://docs.deskhoot.com/install/other.md)
>
> Squarespace, Framer, Google Tag Manager and more.

> [card] [Allowed websites](https://docs.deskhoot.com/widgets/websites.md)
>
> Where your chat is allowed to load.

> [card] [Install with code](https://docs.deskhoot.com/sdk/install.md)
>
> For developers: React, attributes and more.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.