| 400 | context_length_exceeded | Input/output tokens exceed model context limits. | Reduce prompt and response length to stay within model limits. |
| invalid_type | Parameter type mismatch (e.g., expected int but got float). | Check the expected parameter types and correct the input. |
| decimal_above_max_value | Decimal value exceeds the allowed maximum. | Adjust the value to fall within the allowed range. |
| decimal_below_min_value | Decimal value is below the allowed minimum. | Increase the value to meet the minimum required threshold. |
| integer_above_max_value | Integer value exceeds the allowed maximum. | Provide a smaller integer within the valid range. |
| invalid_value | Parameter value is outside the allowed range. | Check the accepted range for that parameter and resend. |
| unknown_parameter | The endpoint does not accept that parameter. | Remove the parameter. Check the endpoint’s reference page for the parameters it accepts. |
| model_not_supported | The model exists but does not serve this endpoint. | Use a model listed for that endpoint. Check Supported models. |
| unsupported_model | The model is not served by /v1/responses. | Use /v1/chat/completions, or pick a model the Responses API serves. |
| model_not_found | Provided model ID does not exist. | Verify the model ID and ensure it’s available in your subscription. |
| 401 | invalid_authentication | Invalid or expired API key. | Generate and use a valid API key from the Infercom Inference Service portal. |
| invalid_api_key | The API key is incorrect or has been revoked. | Create a new key at cloud.infercom.ai and update your client. |
| 408 | request_timeout | Request timed out due to server load or latency. | Retry with a smaller or optimized request payload. Additionally, consider upgrading to a higher subscription tier to avoid this. |
| 410 | model_deprecated | The requested model has been deprecated and is no longer available. | Use a currently supported model listed in the documentation. |
| 422 | model_not_in_plan | The model exists but is not enabled on your plan. Returned by /v1/chat/completions and /v1/messages. The other endpoints return 400 for the same condition. | Use a model listed for your subscription, or contact support to add the model. |
| 429 | insufficient_quota | Rate limit exceeded. | Upgrade your plan for higher quota. |
| 429 | queue_full | Too many in-flight requests; server declined the request. | Retry after a delay or reduce request frequency. |
| 500 | internal_server_error | An unexpected server-side error occurred. | Retry later. If the issue persists, contact support. |
| 503 | maintenance | Model is temporarily unavailable due to maintenance. | Try again after some time or check maintenance announcements. |