Error codes

EXPERIMENTAL_NOT_ACCEPTED

Production was chosen without accepting that it is experimental.

Exit code: 2 · Who acts: You: correct the request or the environment · From: the CLI only

What it means

Production was chosen without accepting that it is experimental.

Common causes

  • Production moves real money and is not open yet.

Fix it

  1. Use staging or devnet: capxul use env staging.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "refused",
  "error": {
    "code": "EXPERIMENTAL_NOT_ACCEPTED",
    "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

Every command can answer with this code.

On this page