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

  1. The released pay stays owed; nothing is lost.
  2. 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.

Commands that can answer with it

On this page