AI agent getting started? Read Agents: start here first.
Use the process exit code to decide whether a CLI command completed, was refused or needs investigation.
How to read this page
Section titled “How to read this page”Code 0 indicates success. A nonzero code identifies the class of failure; read the command output for its specific reason. An unknown write outcome does not prove the write failed: check it before retrying.
| Code | Meaning |
|---|---|
0 | Success |
2 | Client refusal: configuration, host form or store. |
3 | Unauthenticated: sign-in is required or did not complete. |
4 | The platform refused the operation. |
5 | The host’s outcome is unknown. |
6 | Invalid request, missing subject or exceeded bound. |
7 | The host failed or did not answer. |