---
title: Troubleshooting
description: Find and correct widget connection problems.
icon: Wrench
---

## A widget does not appear

1. Make sure that you imported `@coristen/widget/styles.css`.
2. Make sure that the component runs in the browser.
3. In **Experiences**, make sure that the applicable experience is enabled.
4. Check the browser console for a connection error.

In Next.js, add `"use client"` to the file that renders the widget.

## Coristen rejects the key

1. In **Settings > API keys**, copy the public key again.
2. Make sure that its prefix is `coristen_pk_`.
3. Make sure that the key pair is not revoked.
4. Use that same public key in all widgets.

Do not put the server key in the `apiKey` prop.

## Coristen blocks the website

Add the website to **Allowed websites**.
Use the current hostname and any port.
Do not include a page path.

## Identity mode does not connect

1. Make sure that the identity route is on the same website.
2. Make sure that the customer is signed in.
3. Make sure that the route verifies the customer session.
4. Check the server environment for `CORISTEN_KEY`.
5. Make sure that each widget uses the same identity route.

## A form reply is missing

1. Open the chat widget on the form website.
2. Open the conversation history.
3. Select the form conversation.
4. Use the same browser that sent the form.

For identity mode, sign in with the same account.
Coristen does not send form replies by email.
An email address alone does not restore conversation access.

## The widget has an old appearance

1. Check the installed version of `@coristen/widget`.
2. Update the package.
3. Restart the application development server.
4. Reload the page.

Check the contact form settings separately from the live chat settings.
