> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Troubleshooting

Use this page to fix common problems with adacli. Before you report a problem to your Ada team, upgrade to the latest release with `adacli upgrade`. Include the output of `adacli --version` in your report.

## Login and sessions

### Not logged in

```
Not logged in to acme. Run: adacli acme login
```

Log in to the AI Agent. For an Agent outside the default region, give the full domain or the URL of your Ada dashboard, for example `adacli acme.eu.ada.support login`. For the steps, see [Log in](/adacli/getting-started#log-in).

### Session expired

```
Session expired. Please log in again: adacli acme login
```

A session ends after the inactivity timeout of the Agent, which is 24 hours by default. adacli then deletes the session. Run `adacli acme login` again.

### Login with an email and a password fails

A login with an email and a password does not work for an account that uses SSO or two-factor authentication. The error for an SSO account is the same as the error for a wrong password.

**To log in to an SSO or two-factor account:**

1. If `ADACLI_EMAIL` or `ADACLI_PASSWORD` is set, unset it.
2. Run `adacli acme login` with no options.
3. Approve the code in the Ada dashboard.

## Connection

### adacli cannot find the AI Agent, or the login fails

The handle alone, such as `acme`, connects to `acme.ada.support`, in the default region. For an Agent in another region, the handle does not work. Use the full domain:

```bash
adacli acme.eu.ada.support login
```

You can also paste the URL of your Ada dashboard from the browser. adacli uses only the domain, so the URL of any dashboard page works:

```bash
adacli https://acme.eu.ada.support/ login
```

After you log in, use the same domain in each command. To check the session, run the `status` command:

```bash
adacli acme.eu.ada.support status
```

## Commands

### A command or option is missing

adacli hides the commands for features that are not turned on for your Agent. Some commands also need a newer release. Run `adacli upgrade` to check for a newer release. For details, see [Available commands](/adacli/overview#available-commands).

### Permission denied

```
Permission denied: ...
```

Your role in the Ada dashboard does not allow this action. Ask an Owner or an Admin of the Agent for a different role.

### The item does not exist

The ID is not correct, or the item was deleted. Run the `list` subcommand of the command to get the correct ID. Add `--json` to see the full error.

### A command returns exit code 20, 21, or 22

The command finished, but its output is not complete or cannot be confirmed. For example, an export stopped before the last page. For the meaning of each code, see [Exit codes](/adacli/output-and-exit-codes#exit-codes).

## AI assistants

### The assistant does not use the adacli skills

The skills install for Claude Code only. For another assistant, see [Use another AI assistant](/adacli/use-with-an-ai-assistant#use-another-ai-assistant).

In Claude Code:

1. Run `adacli skills status` to check that the skills are installed and match your adacli.
2. If a skill is missing or outdated, run `adacli skills install`.
3. Start a new session of the assistant.

For details, see [Use with an AI assistant](/adacli/use-with-an-ai-assistant).

### The assistant says adacli is too old for the improvement loop

The improvement loop needs a recent release. Upgrade adacli, then run `adacli skills install` to update the skills. For the upgrade steps, see [Upgrade](/adacli/getting-started#upgrade).

---

Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).