# Website chat troubleshooting (/docs/channels/website-chat/troubleshooting)

> Fixes when the chat does not appear, will not load on your site, or says the agent is unavailable.

Type: troubleshooting | Status: ga | Last reviewed: 2026-11-21

Most website chat problems come from the install snippet, the allowed sites, or an agent that is not published.

## Common questions [#common-questions]

### Why doesn’t the chat appear on my website? [#why-doesnt-the-chat-appear-on-my-website]

Check that the snippet sits before `</body>` with your real public key. Then add your site under **Advanced → Allowed sites**.

### Why does the chat say my agent isn’t published yet? [#why-does-the-chat-say-my-agent-isnt-published-yet]

The agent has never been published. [Publish it](/docs/agents/publish), then reload your page.

### Why is the chat missing on some pages? [#why-is-the-chat-missing-on-some-pages]

Its targeting excludes them. Check the include and exclude paths under [Where it appears](/docs/channels/website-chat/customise#targeting-and-where-it-appears).

## Symptoms and fixes [#symptoms-and-fixes]

| Symptom | Likely cause | Fix |
|---|---|---|
| "Your agent isn't published yet" notice | Never published | Publish; see [Publish an agent](/docs/agents/publish) |
| Chat does not appear | Code not pasted, or pasted on the wrong page | Check the snippet is before `</body>`; [Install](/docs/channels/website-chat/install) |
| Chat does not appear | Your site is not allowed | Add it under **Advanced → Allowed sites** |
| `YOUR_PUBLIC_KEY` still in the code | Placeholder not replaced | Use the key you saved, or **Create another key** |
| Hidden on some pages | **Where it appears** excludes them | See [Targeting](/docs/channels/website-chat/customise#targeting-and-where-it-appears) |
| Chat is gone everywhere | **Turn off website chat** is on | Turn it back on in Advanced |
| Visitors cannot start conversations | Agent is **Inactive** | Switch it **Active**; see [Pause or switch off](/docs/agents/pause-or-switch-off) |
| Changes not visible | Not published, or cached page | Publish and reload |
| Answers lack knowledge | Knowledge not published or attached | [Agent is not using my knowledge](/docs/knowledge/troubleshooting) |
| Customers cannot send files | Files are off for the workspace | **Settings → Files from customers** |

If your page blocks scripts, check your Content Security Policy and consent tool; see [CSP, cookies and privacy](/docs/developers/embed-the-widget#csp-cookies-and-privacy).

## When to contact support [#when-to-contact-support]

If the fixes above do not help, contact support with the page address, a screenshot, and any errors from the browser console. See [what to include](/docs/troubleshooting/limits-access-and-support#contact-support).
