Skip to content

Insufficient balance ​

HTTP 422   insufficient_balance

What it means ​

The paying account's balance doesn't cover the amount.

What to do ​

Check the balance with GET /v1/accounts/{accountId}. In the Sandbox, add test TxGold with the fund route.

The response ​

json
HTTP/1.1 422
Content-Type: application/problem+json

{
  "type": "https://docs.txgold.money/errors/insufficient_balance",
  "title": "Insufficient balance",
  "status": 422,
  "code": "insufficient_balance",
  "detail": "…",
  "requestId": "7219af94e39d"
}

Branch on code, never on title or detail: the code never changes once published, and the text may. Quote requestId to TxGold support. See all errors.

The SDKs are MIT licensed.