---
title: "Agent Troubleshooting"
description: "Fixes for an agent that can't connect, can't find your site, or a custom theme that won't save or show."
url: "https://www.contito.com/docs/ai-agents/agent-troubleshooting"
published: "2026-11-16T06:04:37.917Z"
modified: "2026-11-16T06:04:37.917Z"
---

# Agent Troubleshooting

Contito refused the connection.

Most agents don't say why, so check these in order:

1. **Your plan.** API access needs an active paid plan. A cancelled or expired plan turns it off. See [Change or Cancel a Plan](https://www.contito.com/account-and-plans/change-or-cancel-a-plan).
2. **Your key.** A key copied only in part, rolled or deleted no longer works. Create a new key, or roll this one, and set it up in your agent again. See [API Keys and Permissions](https://www.contito.com/ai-agents/api-keys-and-permissions).
3. **The Authorization header.** Your agent's config must contain the line with `Bearer` followed by your key. If it's missing, run the setup command from [Connect Your Agent](https://www.contito.com/ai-agents/connect-your-agent) again.
4. **Your connection,** if you connected by signing in. A disconnected app, or one connected more than 180 days ago, needs to connect again. Check that it's listed under **Connections \> Connected apps**.

Connecting an app by signing in needs the admin role in your organization.

Ask an admin to connect it, or use an API key instead.

Your organization has no active paid plan.

Choose one in **Plan Settings**, then connect the app again. See [Plans](https://www.contito.com/account-and-plans/plans).

Contito only connects to apps it knows: Claude, ChatGPT, Cursor, and programs on your own computer.

Any other web app is refused, and the page says which one.

Use one of the apps above, or connect with an API key.

The key is missing the scope for it.

For example, a key with `content:read` but no `content:write` can read contents and can't publish them.

Open **Connections**, click the key, select the missing scope and click **Save**.

You don't need to reconnect the agent.

For an app you connected by signing in, a switch was off when you clicked **Allow**.

Disconnect the app under **Connections**, connect it again and turn the switch on.

The key or connection belongs to a different organization from the site.

Each works only in the organization it was made in.

Sign in to the account that owns the site, then create a key or connect the app again from there.

The link opens your Contito dashboard.

It works only in a browser where you're signed in to Contito, and only for people in your organization.

Your site is still on a built-in theme.

Open **Website \> Design**, click **Change Theme**, pick your custom theme, click **OK** and save your design.

See [Custom Themes with an Agent](https://www.contito.com/ai-agents/custom-themes-with-an-agent).

The draft has an error your agent hasn't fixed yet.

Nothing was stored, and your site is unchanged.

Tell the agent the save failed. It can see the error.

**Sample Data** is on, so the preview uses a sample site's name, logo and contents.

Turn off **Sample Data** in the theme editor to see your own.
