Skip to content

Exit Codes

ActionXM CLI uses standard exit codes for scripting and CI/CD integration.

CodeNameDescription
0SuccessCommand completed successfully
1ErrorGeneral error (API failure, not found, etc.)
2Usage ErrorInvalid command syntax or missing arguments

Per-command exit codes

actionxm auth login

  • 0 — Authenticated successfully
  • 1 — Device code expired, denied, or network error

actionxm auth logout

  • 0 — Always (logged out or was not logged in)

actionxm auth status

  • 0 — Always (displays current state regardless)

actionxm sites list

  • 0 — Sites listed successfully
  • 1 — Not authenticated or API error

actionxm sites select

  • 0 — Site selected
  • 1 — Site not found or not authenticated

actionxm status

  • 0 — Always

actionxm config get/set/list/path

  • 0 — Success
  • 1 — Unknown config key

ActionXM Analytics Platform