Error codes

audit_unavailable

HTTP 503 · Audit Unavailable

The gateway could not guarantee an audit record for this request, so it did not process it.

What it means

The gateway reserves room for a request's audit records before it acts on the request. It could not reserve that room, so it refused the request before acting on it. That happens when the audit store is not accepting writes and the gateway has no room left to hold the records. It also happens while the audit store is healthy, when this tenant has more requests in progress at once than the room allows; the refusal's audit record then carries the reason audit_reservation_full, and the response does not name it. Nothing was sent to a model and nothing was changed.

What to do

Retry after the Retry-After interval. If it persists, give your operator the request_id.

In the response

type
https://ordrik.ai/errors/audit_unavailable
code
audit_unavailable
status
HTTP 503
title
Audit 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, at most: 60