Error codes

Error codes

Every code the CLI, the SDK and the backend can answer with.

A failed command or call names one code. The code never changes for the same failure; the message can. Each code has one exit code in the CLI.

CodeExit codeWhat it means
NOT_AUTHENTICATED3The request has no valid sign-in.
EMAIL_DELIVERY_FAILED5Capxul could not send an email that the request needs.
PROFILE_NOT_FOUND5The person has no Capxul profile yet.
SMART_ACCOUNT_MISSING6The person has no account on chain yet.
PLAYER_NOT_FOUND5Capxul has no record of the person the request names.
ACCOUNT_NOT_FOUND5Capxul has no account with the ID the request names.
ACCOUNT_CLAIMED_BY_OTHER_SIGNER6Another wallet already controls this account.
PROVIDER_ERROR5A service that Capxul uses did not complete the request.
PROVIDER_RESPONSE_INVALID5A service answered, but Capxul could not use the answer.
CAPABILITY_UNAVAILABLE6This deployment cannot do what the request asks.
INVALID_INPUT2A value in the request is not valid.
ENV_MISSING5The deployment is missing a setting it needs.
NOT_IMPLEMENTED5This operation is not built yet.
VERIFICATION_REQUIRED6The person or business must be verified first.
INSUFFICIENT_BALANCE6The account does not hold enough money for this payment.
INVALID_RECIPIENT6The payment cannot go to this recipient.
ROLE_PERMISSION_DENIED4You are not allowed to do this, so nothing was signed.
ROLE_CONFLICT6One person cannot hold these two roles together.
TRANSACTION_FAILED5The transaction did not complete on chain.
RATE_LIMITED6Too many requests arrived in a short time.
NETWORK_ERROR5The request did not reach Capxul, or the answer did not come back.
UNKNOWN5Something failed and Capxul could not say why.
OTP_EXPIRED2The sign-in code expired.
SIGNER_REJECTED6The wallet declined to sign.
CANCELLED130The command stopped before it finished.
WRONG_STATE2The request is valid, but the current state does not allow it.
STALE_EPOCH6The request was based on an earlier version of the data.
SUPERSEDED6A newer request replaced this one.
WORK_DIED5Background work for this request stopped unexpectedly.
ACTOR_STOPPED6The account or Organization that would do this is stopped.
WRONG_ENVIRONMENT2This command does not run in the current environment.
FEATURE_NOT_AVAILABLE6This feature is not switched on for you or your Organization.
PAYROLL_BUDGET_EXCEEDED6An offer or a raise would commit more than the department has left this year. Nothing was signed.
PAYER_BALANCE_TOO_LOW6The Organization's account holds less than this collection pays.
CLI_USAGE2The command line is not valid.
CLI_CONFIG2The CLI configuration is not valid.
CLI_STORAGE2The CLI could not read or write its local files.
CLI_DEFECT1The CLI failed unexpectedly.
CLI_DEADLINE5The command stopped waiting before the work finished.
EXPERIMENTAL_NOT_ACCEPTED2Production was chosen without accepting that it is experimental.
ENVIRONMENT_NOT_CHOSEN2No environment is chosen, and this command needs one.