Error codes

SMART_ACCOUNT_MISSING

The person has no account on chain yet.

Exit code: 6 · 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 account on chain yet.

Common causes

  • The account is created after the first sign-in, and that step has not finished.

Fix it

  1. Finish the account setup: capxul account retry.
  2. Then run the command again.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "refused",
  "error": {
    "code": "SMART_ACCOUNT_MISSING",
    "message": "…"
  }
}

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