Error codes

ACCOUNT_NOT_FOUND

Capxul has no account with the ID the request names.

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

What it means

Capxul has no account with the ID the request names.

Common causes

  • The ID is wrong, or it belongs to another environment.

Fix it

  1. Check the ID and the environment (capxul whoami).

In JSON and the SDK

With --json, the CLI prints:

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

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

Commands that can answer with it

No command lists this code. It can still come from the SDK or the backend.

On this page