Error codes

CLI_DEADLINE

The command stopped waiting before the work finished.

Exit code: 5 · Who acts: You or another person, after you read the current state, or by waiting · From: the CLI only

What it means

The command stopped waiting before the work finished.

Common causes

  • The work is slow, but it can still finish.

Fix it

  1. Read the item again later, or wait for it with the wait command that next names.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "failed",
  "error": {
    "code": "CLI_DEADLINE",
    "message": "…"
  }
}

Only the CLI answers with this code. The SDK never returns it. 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