> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

Portkey uses conventional response codes to indicate the success or failure of an API request. In general: Codes in the `2xx` range indicate success. Codes in the `4xx` range indicate an error that failed given the information provided. Codes in the `5xx` range indicate an error with Portkey’s servers (these are rare).

## Common Errors

During request processing, you may encounter error codes from either Portkey or the LLM provider:

| Status Code | Description                                  | Source              |
| ----------- | -------------------------------------------- | ------------------- |
| `408`       | Request timed out                            | Portkey OR Provider |
| `412`       | Budget exhausted                             | Portkey OR Provider |
| `429`       | Request rate limited                         | Portkey OR Provider |
| `446`       | Guardrail checks failed (request denied)     | Portkey             |
| `246`       | Guardrail checks failed (request successful) | Portkey             |

<Note>
  Provider-specific error codes are passed through by Portkey. For debugging these errors, refer to our [Error Library](https://portkey.ai/error-library).
</Note>

***

<Card title="Portkey is now PRISMA AIRS AI Gateway. See it in action." href="https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey&utm_medium=referral&utm_campaign=prisma_airs&utm_content=docs_nav#contact" icon="arrow-up-right-from-square">
  Contact Us
</Card>


## Related topics

- [Errors](/docs/api-reference/admin-api/error.md)
- [Common Errors & Resolutions](/docs/support/common-errors-and-resolutions.md)
- [Get errors data](/docs/api-reference/admin-api/control-plane/analytics/graphs-time-series-data/get-errors-data.md)
- [Get error rate data](/docs/api-reference/admin-api/control-plane/analytics/graphs-time-series-data/get-error-rate-data.md)
- [Unified LLM API with Automatic Failover & Error Handling](/docs/guides/use-cases/enterprise-ready-unified-api.md)
