anyllm.space
Main navigation
Documentation sections ▾
Documentation / Errors and diagnostics

Errors and diagnostics

Interpret authentication, budget and retry failures using the API error code and request ID.

Read the response

Capture the HTTP status, error.code, error.message and X-Request-Id if present. Some requests fail before the gateway creates a ledger entry. Include the endpoint and client version when reporting issues. Remove all keys before sharing diagnostics.

HTTPWhat to checkNext step
400Body and field typesCorrect the input before retrying.
401Project key, authorization header and revocationVerify credentials with GET /v1/models.
402 or 403Available organization balance and applicable budgetsCheck wallet, project and key limits.
404Endpoint, model ID or request IDConfirm the path, project and model list.
409Idempotency conflict, running operation or retained resultInspect the exact error code and the existing job.
422Estimate exceeds the capReduce the workload or explicitly approve a larger cap.
429Rate limitRespect the response's retry information.
5xxGateway or provider failureCheck the recorded request before resending.

Look up a request

Open Request history or send GET /v1/requests/{id} with the same project credentials. A request still under reconciliation may show different execution and billing states. Cost caps and retries.