Skip to content

Troubleshoot by error class ​

For agents: where each row comes from

Something failed: a pod exited, a task came back failed, a client got an error. Every error in adam has a class, and the class says what to do before the message does. This page goes from a class to an action. The full tree of variants, the A2A codes and the exit codes are in Errors; this page is the one to open on a bad day.

Find the class ​

You haveThe class is in
a pod that exitedthe exit code (below)
a client errorthe A2A code, which maps to one or more classes (the table)
a run that failedthe run's error text, and the log line of the step; the journal's last entry says which step
a log line adam-coder failed (or adam-agent failed)the whole cause chain, with none of the process's secrets

A client is told a fixed sentence, never the cause: the cause chain is in the log. So when a client says "internal error", read the log of the worker.

One row per class ​

ClassWhat it meansThe client seesExitWhat to do
Transientit may work later: a network error, a 5xx, a timeout, a full pool, a child process that crashed-32603 "backend temporarily unavailable"69Wait. The runtime retries with backoff. If it keeps failing, the dependency is down: the database, the model gateway, the git host. A pod that exits 69 at start cannot reach its database: check DATABASE_URL and the database pod
RateLimiteda provider or a resource budget said slow down-32603 "backend temporarily unavailable"69Wait. A step that meets a provider's limit is retried after at least the time the provider named, and the run fails only when its attempts run out (retry). An admission or budget refusal never fails a run. If it is constant, raise the quota at the gateway or lower the load: admission refusals
Conflicttwo writers raced and this one lost-32603 "backend temporarily unavailable"69Usually nothing: the loser retries at once, up to 16 times, then drops its result with a warning. Many in a row point at contention (unverified as to cause): read the run and check the clocks and the worker ids
Invalidthe input is wrong and never will be right-32602 invalid params78Fix the input. At start it is a configuration error: the log names the variable or the file. A request that says it again fails the same way. A resource over its limit is this class too, naming the limit
NotFoundthe thing is not there, or not visible to this caller-32001 task not found1Check the id and the caller. A task of another caller reads as absent. A finished run is deleted after RUN_RETENTION_DAYS (90 by default)
Rejectedthe request is valid but the target's state forbids it: finished, busy, already exists, no room on the disk-32602 invalid params, and -32002 for a cancel1Do something else. A finished task cannot be sent a message: start a new one that continues it. A cancel of a finished task is -32002. A disk that is full needs space or a higher limit
Unauthenticateda credential is missing or refused: the model key, the git token, the GitHub App, a registry-32603 "internal error"1Check the secret the log names: Secrets. A missing ExternalSecret property leaves a pod in CreateContainerConfigError. (A caller with no bearer token for adam gets HTTP 401 before any class applies)
Unsupportedthe peer does not offer this-32603 "internal error"1No error maps here today. If you see one, it is a defect: report it
Corruptstored or received data breaks an invariant-32603 "internal error"70Do not retry; tell someone. The run is failed on purpose, because a row that can never be read must not be leased for ever. Keep the log line, check the store and the volume, and report it
Internala bug, or an error nobody classified-32603 "internal error"70Alert and collect: the log line with its cause chain, the run id and the journal's last step: report it

Corrupt and Internal are the two that alert. The three retryable classes (Transient, RateLimited, Conflict) all reach a client as the same sentence, and all exit 69 at boot, so the log is how you tell them apart.

Exit codes of a pod ​

ExitMeaningLook at
0clean shutdown after SIGTERMnothing
78configuration: a bad value, an agent folder that does not load, a store DATABASE_URL the process cannot servethe log line: it names the variable. The store's reasons are in the exit-78 table
69a dependency was unreachable at boot (Postgres, MongoDB, SQLite)the database pod and the network policy
71the OS refused: a port that cannot bind, a directory that cannot be madethe pod's LISTEN_ADDR and its volumes
70a half of the process stopped, a panic or an internal errorthe log line adam-coder failed
1anything elsethe log line

The values follow BSD sysexits.h (unverified, from memory). A pod that loops on 78 after an upgrade is the commonest case: read Upgrade an adam deployment.

What the runtime does with a class ​

A step retries five times by default, waiting one second and doubling up to a minute; a tool or a folder can set its own policy (retry). A store error met while stepping is decided by class too: Corrupt and Invalid fail the run, any other leaves it to its lease. In the coder a permanent tool failure is not a failed run: the model is told, and goes on.

When it is a bug ​

For Internal, Corrupt or an Unsupported you cannot explain, collect: the build (the card's version says the commit), the adam-coder failed line with its cause chain, the run id and the name of the journal's last step. Read the log first for a secret and remove it. A vulnerability is reported privately.