Error codes

PROFILE_NOT_FOUND

The person has no Capxul profile yet.

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

The person has no Capxul profile yet.

Common causes

  • The account setup did not finish.

Fix it

  1. Finish the account setup: capxul account retry.

In JSON and the SDK

With --json, the CLI prints:

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

In the SDK, a failed result has result.error.code === "PROFILE_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