Troubleshooting
Find the screen the app showed, the symptom or the error code CatalEx printed, then apply the fix and run the same operation again. Fix the reported cause before creating another agent or account. The app words most problems in plain language and never shows a code; catalex prints the code with its next step.
Start with these read-only checks:
catalex status
catalex doctor
catalex install status
catalex account status
catalex providers
catalex providers needs a CatalEx sign-in. Signed out, use catalex providers discover. Every catalex command prints an error code and its next step; add --json for structured fields, and read catalex COMMAND --help for your release's flags.
The app does not start
The app repairs CatalEx without asking: it restarts a part that stopped, reinstalls program files that are missing or damaged from its own copy, and moves damaged saved data aside, never deleting it, before starting again at the sign-in. Normally you only see the Starting CatalEx screen again for a few seconds.
| What you see | Cause | Fix |
|---|---|---|
| Starting CatalEx stays on screen | The app is restarting a part that does not answer. It tries three times, waiting 2, 5 and 10 seconds | Wait for the three attempts. If the screen stays, run catalex doctor in a terminal |
| Oops, there was an issue starting CatalEx. with Try again | Three restarts in a row failed | Select Try again. If it comes back, run catalex doctor --fix; when it reports damaged saved data, catalex doctor --fix --fresh-start moves that data aside and starts clean |
| There was an error starting CatalEx. with Retry (during setup, or full window after sign-in) | CatalEx could not start after you signed in; the reason is printed under the title | Select Retry. If it fails again, run catalex doctor |
| CatalEx is not answering with Retry in a browser tab | The page was opened without the app, and nothing else can start CatalEx | Open the CatalEx app on this computer; it fixes itself. Then select Retry |
| CatalEx needs you to sign in in a browser tab | The page was opened in a browser while signed out | Sign in in the app, or run catalex login, then select I've signed in |
| Sign-in needs CatalEx running on this computer. | The sign-in dialog works through CatalEx on this computer, which is not up yet | Wait for the Starting CatalEx screen to finish, or run catalex start |
| macOS refuses to open CatalEx the first time (damaged, or from an unidentified developer) | The app is not notarized | Open System Settings > Privacy & Security and select Open Anyway, or Control-click the app and choose Open |
Installation
| Symptom or code | Cause | Fix |
|---|---|---|
| Installer download fails | The network blocked or interrupted the download | Check the network, retry the install commands. Do not use copies of the installer from elsewhere |
| Download times out or fails TLS | Network problem | Check the network and retry the same address |
catalex: command not found after installing | This shell's PATH predates the install | Run export PATH="$HOME/.local/bin:$PATH" or open a new terminal; catalex path status checks new terminals |
RELEASE_INSTALLER_UNSUPPORTED ("release V has an installer this CatalEx cannot run") | The installed catalex is too old for that release | Run the step 1 installer again to get a current catalex, then retry |
RELEASE_UNAVAILABLE | The release list could not be read: no network, or no access | Check the network and run the same command again |
| Installer ends with "CatalEx was installed but is not running" | CatalEx did not become ready within 2 minutes | Run catalex status and catalex doctor, then catalex start. To make the installer wait longer, run it again with CATALEX_START_TIMEOUT set to a number of seconds |
RELEASE_SIGNATURE_INVALID | The release list's signature is missing or wrong, so install or update refused it and changed nothing | Run the same command again. If it repeats, run the step 1 installer from the address in Install CatalEx, not from a copy |
catalex update auto prints waiting | The release is downloaded, but the computer is not quiet: the app is in use or an agent is working or worked lately (app_in_use, agent_active, agent_recent, activity_unknown) | Wait: CatalEx switches by itself. To switch now, run catalex update auto --now |
UPDATE_IN_PROGRESS from catalex start, restart, prepare or setup | An update switch is running and stopped CatalEx on purpose; it starts CatalEx itself when it finishes | Wait a minute and run the command again. catalex update status shows whether a switch runs; one that never finishes stops counting after 30 minutes |
A command exits with status 75 | Another CatalEx command holds a lock, such as the settings lock while the app saves a setting | Nothing is wrong. Wait and run it again; the automatic update does this itself |
catalex service autostart on fails with LOGIN_ITEM_FOREIGN or LOGIN_ITEM_UNSUPPORTED | A file CatalEx did not write already sits where its login item goes, or the computer is not macOS or Linux | Move that file away and run the command again. Windows is not supported |
catalex update auto prints rolled_back | The new release did not become healthy within updates.health_timeout, so CatalEx restored the previous release and your saved data. That release is skipped and never tried again | Nothing to do: the next newer release is tried by itself. Run catalex doctor if CatalEx is not running |
catalex update auto prints not_applicable | A development build, an installation Homebrew owns, or an installation CatalEx did not record or that changed since | Update with the package manager that installed it; see Installation ownership and PATH |
catalex open fails, or no app appears | The app was not installed (--no-app, or not an Apple Silicon Mac) | Run catalex install app, then catalex open. The app is for macOS on Apple silicon |
catalex: command not found after installing only the app | The app keeps catalex in ~/.local/bin without adding that folder to PATH | Run ~/.local/bin/catalex path add and open a new terminal, or run the one-line installer |
| Update refused while CatalEx runs | update does not stop CatalEx on its own | Run catalex update auto --now, or catalex update --restart; add --yes to quit a running app |
catalex uninstall or update reports NOT_OWNED or PACKAGE_MANAGED | The app or command was not installed by CatalEx, or Homebrew installed it | Use the package manager that installed it; see Installation ownership and PATH |
Setup and sign-in
| Symptom or code | Cause | Fix |
|---|---|---|
SIGN_IN_EXPIRED | The browser sign-in was not finished within 10 minutes | Run the same catalex setup or catalex login command again |
SIGN_IN_CANCELLED, or the browser shows "Sign-in cancelled" | The Google sign-in was declined or closed | Run the same command again and finish the sign-in |
GOOGLE_SIGN_IN_FAILED | Google or the account service ended the sign-in with an error | Run the command again |
LOCAL_PORT_UNAVAILABLE | The local port that receives Google's answer could not be opened | Retry. If it repeats, create a one-time code on a signed-in device with catalex login-codes create, then run catalex login --code here and paste it |
ACCOUNT_SIGNIN_REQUIRED ("not signed in to a CatalEx account") | Nobody is signed in, and the command touches agents, chats or channels | Run the step the error names: the catalex setup command when CatalEx is not set up on this computer, and catalex login when only the sign-in is missing. Commands that install, set up, update, start, stop or check CatalEx, and catalex open, run signed out |
DEVICE_NOT_TRUSTED (exit status 4) after a first sign-in with catalex setup | Your account already has a trusted device, such as the CatalEx app, and this one is not trusted for changes yet | Trust this computer in Settings > Devices, or run catalex devices trust CLIENT_ID on a trusted device, then run the same setup command again |
| There is no email and password sign-in | CatalEx signs in with Google only | Use Log in using Google in the app or catalex login |
| App shows Sign-in didn't finish. with Try again | The browser sign-in or joining this Mac did not complete. Nothing is left signed in | Select Try again |
| Browser shows "This sign-in link was already used or has expired." | The link was opened twice or too late | Start signing in again from CatalEx |
SIGNED_IN_ELSEWHERE ("already signed in to SERVICE") | A sign-in to another service is saved | Run catalex logout, then sign in again |
CLIENT_UPDATE_REQUIRED (HTTP 426, with the lowest supported release) | CatalEx Cloud, or your own service, no longer accepts this version of catalex or the app | CatalEx updates itself. To update now, run catalex update auto --now, then run the command again |
JOIN_CODE_INVALID | A join code was refused: unknown, mistyped, already used, revoked or expired, or it is a sign-in code. Nothing was created | Create a new code with catalex computers add and run catalex join with it |
LOGIN_CODE_INVALID (exit status 2) | The sign-in code was mistyped or is no longer valid. After too many tries, the service answers RATE_LIMITED | Create a new code with catalex login-codes create on a trusted device, then run catalex login --code |
CLIENT_NOT_TRUSTED or SIGNATURE_REQUIRED (exit status 4) | This device is not trusted for changes, which the command needs | Run catalex devices trust-this on a computer that joined your account, or choose Trust for changes on a trusted device; see Devices |
SIGNIN_TOO_OLD (exit status 4) | catalex account move needs a sign-in made within the last 10 minutes | Run catalex login --force, then the move again |
MOVE_CONFIRMATION_MISMATCH or ACCOUNT_DELETE_CONFIRMATION_MISMATCH (exit status 2) | The email you typed is not the account's. Nothing changed | Run the command again and type the account's email |
ACCOUNT_DELETE_CONFIRMATION_REQUIRED (exit status 2) | There is no terminal, so the command could not ask. Nothing was contacted | Add --yes --confirm-email YOUR_EMAIL |
ACCOUNT_HAS_COMPUTERS | A setup would take this computer to another service or mode while your account has more than one computer or signed-in device. Nothing changed | Move the whole account with catalex account move --to URL; see CatalEx Cloud and account |
COMPUTER_ALREADY_JOINED | This computer already belongs to an account on another service | Leave that account first with catalex computers leave, then join again |
this build has no CatalEx Cloud address; pass --service-url | An older build without the CatalEx Cloud address | Run catalex update, then the setup command again |
Setup reports an occupied port, or PORT_IN_USE | Another program uses a CatalEx port | Pass free ports with setup's port flags; see network settings |
| App shows "This build of CatalEx cannot sign in." | The build has no CatalEx Cloud address | Run catalex update |
| App shows Welcome back to CatalEx with Log in using Google | You logged out, or CatalEx signed you out | Select Log in using Google. Your agents and chats come back |
| App shows "You were signed out from another device.", "This computer was removed from your account." or "Your account was deleted.", then "Sign in again to continue." | Another device signed you out, this computer was removed, or the account was deleted | Sign in again with Log in using Google, or catalex login |
COMPUTER_REMOVED, or catalex status says "This computer was removed from its CatalEx Cloud account." | Another device removed this computer | Sign in again with catalex login |
This computer: Offline (CODE) in catalex status, or THIS_COMPUTER_OFFLINE | The computer cannot reach the service | Check the network, then run catalex devices trust-this to reconnect. The app's warning has the same fix; see the next table |
Trusted for changes: no | This device signed in but no trusted device has trusted it yet, so it cannot make sensitive changes on your computers | On a computer that joined your account run catalex devices trust-this, or choose Trust for changes under Settings > Devices on a trusted device; see Devices |
ACCOUNT_DELETION_UNCONFIRMED | The answer to an account deletion was lost | Run the same catalex account delete command again |
This Mac is offline
When this Mac joined your account but cannot connect, the app shows a warning on every view and in Settings > Devices. catalex status shows the same state as This computer: Offline (CODE).
| The app says | Cause | Fix |
|---|---|---|
| This Mac can't reach CatalEx Cloud | The network is down (NETWORK_UNREACHABLE) | Check your internet connection, then select Try again |
| CatalEx Cloud is busy right now | The service is busy or restarting (SERVICE_UNAVAILABLE) | Select Try again in a minute |
| This Mac was disconnected from, or deleted from, your CatalEx account | Another device removed it (COMPUTER_REMOVED, COMPUTER_DELETED) | Select Rejoin, or run catalex devices trust-this |
| Your CatalEx account moved, or CatalEx Cloud no longer accepts this Mac | ACCOUNT_MOVED, COMPUTER_UNAUTHORIZED | Select Sign in, or run catalex login |
| CatalEx on this Mac is updating | This version is too old to connect (UPDATE_REQUIRED) | Wait: CatalEx updates itself, then connects again. Select Try again afterwards, or run catalex update auto --now |
| Another copy of CatalEx took over this Mac's connection | CONNECTION_REPLACED | Close CatalEx on the other computer that uses this name, then select Try again |
| CatalEx Cloud refused the connection, or this Mac couldn't connect | SERVICE_REFUSED, COMPUTER_CONNECTION_FAILED or another cause | Select Try again; catalex status prints the code |
Agents and native chats
| Symptom or code | Cause | Fix |
|---|---|---|
PROVIDER_NOT_READY | Claude Code or Codex is not installed | Install it, then run catalex providers discover |
PROVIDER_NOT_SIGNED_IN, or "Your AI is not signed in on this computer." | The AI tool is signed out | Run catalex providers login claude (or codex), then send the message again |
AGENT_START_CHECK_FAILED, or "NAME could not be connected to Claude Code" | The AI could not start in the folder; nothing was saved | Fix what the provider reported, in the folder's settings or the provider, then add the agent again |
AGENT_ID_CONFLICT or AGENT_REGISTRATION_UNAVAILABLE | Adding an agent failed because the service reported three new agent IDs in a row as taken, or did not answer. Nothing was saved | Run the add again; for AGENT_REGISTRATION_UNAVAILABLE check the connection first with catalex status |
MODEL_UNSUPPORTED, REASONING_EFFORT_UNSUPPORTED or CAPABILITY_INVENTORY_UNAVAILABLE | The AI does not offer the model or effort you named, or its model list could not be read. Nothing was saved | Choose one of the listed valid options, or run catalex refresh and save again |
FOLDER_CONFIG_INVALID | CatalEx edits the agent folder's Claude Code or Codex settings to make your choice work, and one of those files does not parse. CatalEx never rewrites it | Fix or remove the file the error names, then repeat the change |
FOLDER_CONFIG_LIMIT_IN_USER_SETTINGS or FOLDER_CONFIG_MANAGED_LIMIT | A limit in your own user settings, or an organization policy, blocks the choice. Nothing was written | Edit your user settings, or choose a setting the policy allows |
AGENT_FOLDER_MISSING | The agent's folder no longer exists, so nothing was started | Restore the folder, or choose a new folder for the agent |
PROJECT_ROOT_CHANGED | The agent's folder was replaced or moved while a chat was open | The chat starts a new AI session in the folder as it is now. The earlier AI conversation is not continued |
AGENT_SIGNED_OUT, AGENT_USAGE_LIMIT, AGENT_PROVIDER_BUSY, AGENT_PROVIDER_UNREACHABLE, AGENT_CONTEXT_FULL, AGENT_MODEL_UNAVAILABLE, AGENT_SANDBOX_BLOCKED, AGENT_SANDBOX_UNAVAILABLE or AGENT_POLICY_REFUSED | The AI ended the turn and named why: signed out, usage limit used up, busy, unreachable, the chat too long, model unavailable, blocked by the AI's sandbox, a sandbox that cannot start on this computer, or declined under its usage policy | Sign in to the AI with catalex providers login, wait and send again (busy, unreachable, usage limit), start a new chat (too long), choose other settings with catalex agents edit (model), or install the sandbox tools the AI lists (AGENT_SANDBOX_UNAVAILABLE). The agent keeps running |
PICTURE_TOO_LARGE or PICTURE_TYPE_UNSUPPORTED | catalex agents picture set accepts only PNG, JPEG or WebP, up to 1 MiB by default | Use a smaller image of a supported type |
IMPORT_NO_FREE_FOLDER | Importing a Marketplace agent found every numbered folder name for it taken | Move or remove the folders with that name and its numbered variants (agent-2, agent-3 and so on), then import again |
AGENT_TOOLS_NOT_CARRIED | A provider change would widen the agent's tool access | Review the agent's tools on its Permissions tab, or keep the current provider |
TOOLS_REVIEW_REQUIRED | The agent's tool selection needs review after a change in its tools or isolation | Review the tools on the agent's Permissions tab (changes save on their own), or catalex agents tools --agent AGENT_ID, then send the message again. See Tools and permissions |
AGENT_TURN_REFUSED | The AI refused the turn with the chosen model or effort | Read the AI's text in the error and run the command it prints to choose other settings |
| A chat's session failed and stays stuck | Recovery gave up | Send a new message (it replaces the stuck session), or run catalex chats replace CHAT_ID. The chat keeps its history |
RELAY_STOPPED | CatalEx is stopped | Run catalex start |
CHAT_NOT_ON_THIS_COMPUTER (exit status 5) from chats show or chats send | A chat that chats list names is gone from this computer, for example after a reset of its conversations; the archive keeps it | Run catalex chats archive restore, then the command again. A chat ID that chats list does not name stays NOT_FOUND |
SETUP_AGENT_REQUIRED (exit status 2) | A WhatsApp Personal number added with accounts add has no agent yet | Run catalex channels add --agent AGENT_ID --type whatsapp_personal --new, or give the number an agent with catalex destinations setup ACCOUNT_ID --whatsapp_personal --action prepare --value risk_acknowledged=true --value agent_id=AGENT_ID |
INPUT_QUEUE_FULL | Too many messages are already waiting | Let the current turn finish, or stop it, then retry. Your draft is kept |
PROVIDER_IN_USE | You tried to disconnect a provider an agent still uses | Move those agents to another provider first |
| A tool or instruction seems missing | Wrong folder or provider, or the folder's own tool setup | Check the agent's folder and provider, then ask a question that needs that tool. A self-description is not evidence |
| A requested chart or file is missing | Rich formats or Share media is off | Check Rich formats under How it replies on the General tab, and Share media on the Permissions tab. See Engagement and writing |
| A change saved, but behavior is the same | The change applies at a later point | New-agent defaults do not change existing agents. A model or effort change applies to new chats; a provider change starts a new chat on the next message |
Messaging
| Symptom or code | Cause | Fix |
|---|---|---|
| Account connected, but no reply arrives | Something on the path is broken | Work through the checklist below |
CALLBACK_UNREACHABLE | The provider's webhook points at a deleted or unreachable installation | Connect the account again; for WhatsApp each connect moves the webhook to this installation |
CREDENTIAL_REJECTED | The provider refused the token or key | Check the credential and its permissions for the same provider installation, then replace it with catalex credentials set ACCOUNT_ID; see Replace or check credentials |
catalex accounts health says "Files from agents are not delivered on this account." | The Google Chat app has no OAuth client | Add one with Turn on file uploads… or catalex credentials set ACCOUNT_ID --key-file CLIENT.json; see Google Chat |
| Access is refused, or messages are throttled | Access rules or limits | Run catalex accounts access show ACCOUNT_ID, catalex accounts limits show ACCOUNT_ID and catalex agents limits show AGENT_ID. An empty allowlist admits everyone. See Access and limits |
| A reply's View conversation link shows This conversation isn't available | The page opens only for the owner. The link is malformed or unknown, the Google account is not the agent's owner, or Viewable on web is off for the agent | Sign in with the Google account of your CatalEx account, or turn Viewable on web on in the agent's Settings or with catalex agents edit AGENT_ID --web-view on |
| A decision made while the agent was offline did not arrive | A permission or answer sent to an offline agent is recorded but not kept to send later | It reaches the agent only if the agent reconnects before the request expires; otherwise ask the agent again. /status shows the state |
When messaging is connected but silent, check in order:
- Is CatalEx connected?
catalex statusshows the link to CatalEx Cloud. - Is the right bot, number or app connected to the intended agent?
- Do the account's access rules admit the sender?
- Does the agent answer in a native chat?
- Does the incoming conversation appear under the agent's channel?
- Does the reply arrive in the original messaging app?
For WhatsApp, also check Meta's recipient verification, permissions and sender registration; see WhatsApp.
Read what CatalEx holds
To see what CatalEx saved while you look for a cause, these read-only commands print one page at a time. They need a sign-in.
catalex debug agents
catalex debug projects
catalex debug sessions
catalex debug sessions inspect SESSION_ID
Expected result: the saved agents, folders or sessions, or one session in detail. catalex debug sessions events SESSION_ID prints a session's retained events, and catalex debug operations inspect OPERATION_ID prints one operation. Add --json for structured output, and remove tokens and message content before you share any of it.
A command's outcome is uncertain
A request may have reached its destination before the reply was lost. Inspect the original command or operation before retrying, because a new ID can repeat the work:
- Native message:
catalex chats send CHAT_ID --retry COMMAND_ID --wait. - Credentials:
catalex credentials operation ACCOUNT_ID OPERATION_ID. - Account move or deletion: run the same command again; it finishes the original.
Report a problem
Include the release version (catalex version, and catalex app status for the app), the operating system, the command or screen, the exact error code, and whether the same agent works in a native chat. Say whether the message reached the messaging app, CatalEx's conversation history, or neither.
Remove access tokens, app secrets, private folder paths, personal phone numbers and any message content not needed to reproduce the issue. Send the details to [email protected].