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

# Troubleshoot website chat and voice

> Diagnose missing installation, stale settings, blocked microphone access and website channel limits using saved state and actual visitor results.

**FIXED · number** Website chat and website voice offer eligible custom functions only. Built-in calendar booking and availability are excluded. Phone and eligible SMS can use a configured calendar.

**NOT OFFERED → do this instead · number** Website install code is available only from the dashboard for now. The public API does not return ready-to-paste install HTML. Use the dashboard Install action for each customer’s number. The settings read includes install\_id. An install receipt only reports that a widget was seen.

**YOU CAN CHANGE · number** Enable website custom functions only when every enabled function on that number is safe for public visitors. To offer booking, share the business’s booking link or hand off to phone or SMS. Website voice uses one stored switch: `phone_numbers.web_calls_enabled`. Number PATCH (`web_calls_enabled`), web-agent PATCH (`settings.web_calls_enabled`) and web-calls integration PUT (`enabled`) write the same value.

**SCOPE · number** Configure each number’s sms\_prompt for SMS and web\_prompt for website chat and voice. Neither channel inherits its phone custom\_prompt. Both still use the agent knowledge enabled for that channel and follow their own channel rules.

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#website-agent)

Diagnose website failures by checking installation, saved revisions and effective permissions before changing the visitor experience.

First check: **Installed snippet** · Settings: **Current revision** · Evidence: **Browser and inbox result**

**The important part**

* Keep unavailable connection state distinct from a disabled saved preference.
* Re-read stale settings instead of silently overwriting another editor.
* Visitor contact details are unverified and cannot grant access to private data.

[Business guide](https://docs.nixflex.com/guides/voice-widget.md) · [API reference](https://docs.nixflex.com/api-reference/introduction.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

## Check installation first

Confirm that the site uses the current dashboard-generated snippet for the intended number. An install-not-ready message means the service cannot yet provide the install snippet. Do not work around it with a guessed script URL or account key in the browser.

Compare the dashboard preview with the actual site. A working preview does not test that site’s microphone permissions, embedding restrictions, storage behaviour or contact collection. Inspect only safe diagnostic details; do not copy visitor messages or credentials into public logs.

## Read effective voice permissions

Website voice needs both the Web agent and voice switches enabled. A saved voice preference can remain true while the Web agent is off. Account access, the assigned agent, balance and admission checks also affect a new session.

| Symptom | Check and next step |
| - | - |
| Chat appears but voice is unavailable | Read both switches and current admission state. |
| Microphone request denied | Let the visitor use the browser’s permission controls or continue with an available channel. |
| Changed settings disappear | Read the current revision and inspect the actual save response. |
| 409 `widget_settings_changed` | Review concurrent changes before saving a new focused update. |
| Wrong instructions or knowledge | Check website instructions and the separate website knowledge channels. |
| Returning visitor not recognised | Browser storage may have changed; avoid inventing a verified identity. |

## Check settings limits

The website prompt is limited to 16,000 UTF-16 code units. The API accepts only documented settings. `web_appearance` replaces the complete appearance value; omitted nested wording is not automatically retained. Send the whole intended appearance object from the current schema.

Keep `revision` as its returned decimal string to avoid precision loss. A lost PATCH response requires a read before another deliberate save.

## Diagnose action expectations

Built-in phone booking, SMS, transfer, keypad and menu actions are not enabled by website voice. Website custom functions are separately controlled by `web_functions_enabled`. If enabled, every active function on that number must be safe for public visitors; the switch is not a per-function permission grant.

Use the [inbox](https://docs.nixflex.com/guides/developer/agent-inbox.md) to inspect the correct website conversation scope. Do not combine it with SMS threads merely because the visitor supplied the same phone number.

* [Install and verify the site](https://docs.nixflex.com/guides/developer/website/install-and-verify.md)
* [Read the settings reference](https://docs.nixflex.com/api-reference/web-agent/patch-agent-web-number.md)
* [Review custom functions](https://docs.nixflex.com/advanced/custom-functions.md)


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