Skip to main content
Auriko home page
Search...
⌘K
Dashboard
Status
Get API Key
Get API Key
Search...
Navigation
Error code reference
upstream_error
Documentation
API Reference
SDK
Get Started
Introduction
Quickstart
Switching from OpenAI
Guides
Streaming
Tool Calling
Structured Output
Vision
Routing Options
Cost Optimization
Error Handling
Prompt Caching
Extensions and Thinking
Advanced Routing
Frameworks
LangChain + Auriko
OpenAI Agents SDK + Auriko
Google ADK + Auriko
CrewAI + Auriko
LlamaIndex + Auriko
Reference
Supported Parameters
Blocked Fields
Error Codes
Error code reference
budget_exhausted
concurrent_requests_exceeded
context_length_exceeded
expired_api_key
feature_disabled
idempotency_conflict
insufficient_permissions
insufficient_quota
internal_error
invalid_api_key
invalid_parameter_value
invalid_request
mfa_required
missing_required_parameter
model_not_found
model_unavailable
no_provider_available
payload_too_large
rate_limit_exceeded
resource_not_found
routing_failed
service_unavailable
tokens_per_min_exceeded
unknown_parameter
upstream_error
upstream_timeout
Response Metadata
Response Headers
Canonical models
Compatibility
Platform
Rate Limits
Bring your own key
Changelog
Changelog
On this page
HTTP status
Typical cause
Resolution
Error code reference
upstream_error
HTTP 502 — Upstream returned an invalid or unparseable response.
HTTP status
502 api_error
Typical cause
An upstream provider returned a non-success response that couldn’t be translated to a canonical client error.
Resolution
Retry with backoff. Upstream is the source of truth; the failure may clear on its own.
unknown_parameter
upstream_timeout
⌘I