Atlan. For errors that come
from brain itself, and for its own health checks, see the
brain CLI reference.
Sign-in needed or refused
Atlan refused the token, orbrain had no token to send. Commands exit with
status 4, except where the table says otherwise.
| Message or cause | Fix |
|---|---|
HTTP 401, with code: UNAUTHORIZED | A command such as brain registry show, brain add, or brain publish had no token for the registry, or Atlan refused the one it sent. Sign in with brain auth login <registry> --source https://api.atlan.com --token-stdin, or set REGISTRY_TOKEN_<NAME>. |
Atlan this marketplace needs a token, and none was given | brain auth login had no token. Pipe one to brain auth login <registry> --token-stdin, or set REGISTRY_TOKEN_<NAME>. |
| The token expired | The adapter doesn’t refresh tokens you gave it. Sign in again. |
| Sign-in fails with an API key | Signing in onboards a person, and an API key belongs to a service account. Use a token for your user, or set the API key as REGISTRY_TOKEN_<NAME> instead of signing in. |
<variable> is set, so brain already uses it for <registry>. | brain auth login without --token-stdin won’t store a token while REGISTRY_TOKEN_<NAME> is set. Unset the variable, pipe a token with --token-stdin, or keep using the variable. This exits with status 1. |
brain auth login exits with status 1 and shows HTTP 401 | Atlan refused the token you piped in. Check that it’s a current token for your user, then sign in again. |
| A token that works for one organization fails for another | One account belongs to one registry name. Sign in separately for each registry name. |
brain auth list to see which accounts are signed in.
brain can’t reach Atlan Agent Registry
| Message or cause | Fix |
|---|---|
brain adapter list doesn’t show atlan | Run brain adapter install atlan. brain reads Atlan Agent Registry only through the adapter. |
this CLI has no signed origin, so it cannot verify an adapter install | You’re running a brain built from source. Install brain with the installer instead. |
Atlan endpoint must be a credential-free HTTPS URL on an Atlan domain | Use an https:// address on an Atlan domain with no path, such as https://api.atlan.com. Remove anything after the host name, such as /registry/v1. |
The adapter refuses a config key | The adapter accepts only organisation, default_namespace, and channel. Check the spelling. |
…: this registry publishes one release per skill, so a version cannot be pinned. | Remove @<version> from the address. Use the channel setting to choose which release installs. |
A publish is held or blocked
| Message | What happened | Fix |
|---|---|---|
Atlan is reviewing <name>; it goes live when the review passes. | Atlan stored the version, and it waits for review before anyone can install it. Shown by brain sync and background jobs; brain publish reports the publish as done. | Nothing to fix. Check the skill in Atlan for the review. |
Atlan blocked <name>: its security scan rejected this skill, so it was not published. | The security scan rejected the files. | Fix what the scan found, then publish again. |
<name> went to your default workspace …: no workspace you can reach is named "<workspace>". | The address named a workspace you can’t reach. | Check the workspace name with brain registry show <registry>, then publish again. |
Atlan cannot publish <kind> artifacts. | Atlan accepts skills only. | Publish agents through the SDK. |
Atlan adapter ships "<name>" itself, so it cannot be changed upstream. | The skill comes from the atlanai namespace every organization gets. | Copy it under a new name if you want your own version. |
Traces don’t arrive
| Message or cause | Fix |
|---|---|
trace export needs --account <marketplace> or --to <dir>. | Add --account <registry>. |
Account "<name>" was not found. | The traces job needs a signed-in account. Sign in, then use the name brain auth list shows. |
| The job exists but nothing runs | The brain background service that runs jobs isn’t running. See the brain CLI reference to start it. |
| Prompts and completions are missing | Your organization’s trace policy drops content, or the job uses --content drop. |
Setup problems
| Message or cause | Fix |
|---|---|
brain: command not found after installing | Open a new terminal. If you installed with BRAIN_NO_MODIFY_PATH set, add ~/.brain/bin to your PATH yourself. |
The registry CLI's daemon … still syncs …; brain does not run beside it. | brain doesn’t run while the old registry setup is in use. If Atlan Desktop installed registry, update Atlan Desktop; it moves that setup to brain. Otherwise, run the installer again; it moves the setup first. See Move to brain. |
The installer stops with an app manages this install | Atlan Desktop manages your registry setup and moves it to brain itself. Update Atlan Desktop and open it. |
| The installer says your system is unsupported | brain runs on macOS and on x86-64 or ARM64 Linux with glibc. On x86-64 processors, Intel Macs included, the processor needs AVX2. |
atlanai still captures sessions | Only Atlan Desktop turns off atlanai: it stops its background service and removes its plugins and hooks. Without Atlan Desktop, follow the command-line steps in Move to brain. |