Error codes
PAYER_BALANCE_TOO_LOW
The Organization's account holds less than this collection pays.
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 Organization's account holds less than this collection pays.
Common causes
- The Organization has not added enough money to pay what has been released.
Fix it
- The released pay stays owed; nothing is lost.
- Ask the Organization to add money, then collect again:
capxul agreement collect <agreement>.
In JSON and the SDK
With --json, the CLI prints:
{
"outcome": "refused",
"error": {
"code": "PAYER_BALANCE_TOO_LOW",
"message": "…"
}
}In the SDK, a failed result has result.error.code === "PAYER_BALANCE_TOO_LOW". Branch on the code, not on the message: the message is written for people and can change.