Skip to content

CLI errors

The CLI prints safe error text to stderr and exits non-zero. API failures retain the stable API code and server request ID; never paste bearer tokens into support logs.

Common classes:

StatusMeaningAction
400invalid inputcorrect IDs/options/body
401invalid/expired credentialreplace the token
403/404not permitted/not visibleverify current scope and membership
409lifecycle/idempotency conflictre-read state; do not blindly retry with changed inputs
413request/artifact too largereduce size
415wrong JSON content typeclient bug; use current CLI
426incompatible client/API contractupdate the CLI
429quota/rate/cap reachedhonor retry/capacity guidance
5xxserver/provider failureretry safely with the same operation identity where supported

Stable process exit categories: 1 local/unknown, 2 input/protocol, 3 authentication, 4 authorization/not-visible, 5 conflict, 6 quota/rate, 7 server/provider.

Include the request ID in support requests, not secrets, request bodies, signing material or signed URLs.