[SambaNova API error codes]: 400 context_length_exceeded: reduce prompt and response length. 400 model_not_found: verify the model ID is in your subscription. 401 invalid_authentication: generate a new key in the SambaCloud portal. 408 request_timeout: retry with a smaller payload. 410 model_deprecated: the model is gone, use a currently supported one. 429 insufficient_quota: rate limit hit, upgrade the plan. 429 queue_full: too many in-flight requests, retry after a delay. 500: retry, then contact support. 503 maintenance: the model is temporarily down, try later.

Context: SambaNova's own error codes tell you whether to fix, retry, or upgrade.

## Matched source
Source: Source: https://sambanova-systems.mintlify.dev/docs/en/api-reference/using-the-api/api-error-codes
Original query: "SambaNova Cloud error codes: 400, 401, 408, 410, 429, 500, 503"
Key terms: cloud, codes, error, sambanova
