Error codes

CANCELLED

The command stopped before it finished.

Exit code: 130 · Who acts: You: correct the request or the environment · From: the CLI, the SDK and the backend

What it means

The command stopped before it finished.

Common causes

  • You pressed Ctrl-C, or rejected the request on the approval page.

Fix it

  1. Run the command again if you still want it.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "cancelled",
  "error": {
    "code": "CANCELLED",
    "message": "…"
  }
}

In the SDK, a failed result has result.error.code === "CANCELLED". Branch on the code, not on the message: the message is written for people and can change.

Commands that can answer with it

On this page