Error codes
SIGNER_REJECTED
The wallet declined to sign.
Exit code: 6 · Who acts: You: correct the request or the environment · From: the CLI, the SDK and the backend
What it means
The wallet declined to sign.
Common causes
- You, or the wallet, refused the signature request.
Fix it
- Run the command again and approve the request. Nothing was submitted.
In JSON and the SDK
With --json, the CLI prints:
{
"outcome": "refused",
"error": {
"code": "SIGNER_REJECTED",
"message": "…"
}
}In the SDK, a failed result has result.error.code === "SIGNER_REJECTED". 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.