Error codes

spend_limit_unavailable

HTTP 503 · Spend Limit Unavailable

The gateway could not check this request against its spend limit.

What it means

The tenant or the API key has, or may have, a spend limit, and the gateway could not read the spend recorded against it, so it refused the request rather than let it through unchecked. Nothing was sent to a model.

What to do

Retry later. If it keeps happening, tell your operator, with the request_id, that the spend limit could not be checked.

In the response

type
https://ordrik.ai/errors/spend_limit_unavailable
code
spend_limit_unavailable
status
HTTP 503
title
Spend Limit Unavailable
request_id
Identifies the request, when the response has one. Quote it when you ask your operator about an error.

Headers

Retry-After
Seconds to wait before retrying: 30