SWAP_BUDGET_EXHAUSTED
The rolling swap budget for deposits is used up.
| HTTP status | 503 |
| Group | Pricing and purchase |
| Retryable | Yes — the same request may be sent again |
What happened
Only applies while a deposit maximum is configured; it bounds how much can be swapped per window.
What to do
Retry after details.retryAfterMs.
Extra members
This code carries retryAfterMs in the problem document, on top of the common members.
The problem document
Every error is application/problem+json (RFC 9457) with the same shape:
{
"type": "https://docs.co-relayer.com/errors/swap-budget-exhausted",
"title": "The rolling swap budget for deposits is used up.",
"status": 503,
"detail": "A sentence about this specific occurrence.",
"instance": "req_01JB…",
"code": "SWAP_BUDGET_EXHAUSTED",
"retryable": true,
"hint": "Retry after `details.retryAfterMs`."
}
See the error model for what each member means and how to handle unknown codes.