insufficient_funds
The prepaid balance will not cover this send
HTTP 402insufficient_funds
Woyra reserves the cost when a message is accepted, and the balance is short.
Why it happens
- The balance ran out. Woyra is prepaid: an overdraft is a refused call, never a surprise invoice.
- A voice call reserves its maximum cost up front, which is larger than a message.
How to fix it
- Top up in the console, or by card through the top-up endpoint.
- Watch
GET /v1/balanceand alert yourself before it bites. Every account should have a balance alarm before it has traffic. - Email inside the free monthly allowance costs nothing and does not need a balance.
Is it worth retrying?
Only after you change something. Retrying as-is will fail again.
What the response looks like
HTTP/1.1 402
Content-Type: application/json
Woyra-Request-Id: req_01J...
{
"error": {
"code": "insufficient_funds",
"message": "…",
"doc_url": "https://docs.woyra.io/errors/insufficient_funds",
"param": null,
"request_id": "req_01J..."
}
}