Platform

Error reference

Every error code the platform returns.

All errors share one envelope (error.message, error.type, error.code). The codes you may encounter:

StatusCodeWhere
400bad_requestMalformed input — the message says exactly what to fix.
401unauthorizedMissing, revoked or expired key; signed-out session.
402budget_exceededHard spend cap reached for the period.
403forbiddenKey lacks the required scope, or the account is suspended.
404not_foundNo such resource for you — Roar never reveals whether it exists for someone else.
413request_too_largeInference body over 10MB; audio uploads over 50MB.
422guardrail_blockedAccount guardrails stopped sensitive data leaving.
429rate_limit_exceededRequests/min, tokens/min or concurrency cap. Has retry-after.
502upstream_errorAll candidate backends failed; safe to retry.
504upstream_timeoutThe model took too long; safe to retry.

Include the x-roar-request-id response header when contacting support.