Skip to content
Talk to our solutions team

Error Codes

Errors render in the caller’s dialect envelope — OpenAI {"error":{message,type,code}} or Anthropic {"type":"error","error":{type,message}}. The type values are dialect-neutral:

Error typeHTTPMeaning
invalid_request_error400Malformed request, a missing mandatory header, or context length exceeded
content_filter_error400The content was rejected by a safety filter
authentication_error401Missing or invalid token
permission_error403Not permitted — includes a token tenant that doesn’t match X-Kis-Tenant when enforcement is on
not_found_error404Unknown model alias
rate_limit_error429A rate or cost budget was exceeded (Retry-After set)
api_error502An upstream provider returned an error
overloaded_error503Every upstream failed, or the gateway is not yet ready
timeout_error504Upstream timed out (a canceled request is 408)

Response headers: X-Kis-Request-ID is echoed, X-Kis-Idempotent-Replay: true on an idempotent replay, and Retry-After accompanies a 429.