> ## 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.

# Common Errors & Resolutions

> Since Prisma AIRS AI Gateway functions as a gateway - you may encounter gateway-related, as well as non-gateway related errors while using our services.

## Identifying the error source

1. Errors exclusively originating from the AI Gateway are **prefixed with "AI Gateway Error".**
2. While errors originating from your LLM providers (or frameworks) are **returned as they are**, without any transformations.

## How to verify if it's the AI Gateway error

You can quickly verify if the problem is originating from the AI Gateway by **running the same request without the AI Gateway**. If it executes successfully, then it's likely that the error is with the AI Gateway or its integration.

## Common AI Gateway Errors

1. **Errors related to Missing Mandatory Headers**: This is a common error where certain mandatory headers might be missing from the request. Make sure that all the necessary headers as specified in the respective feature documentation are included in your requests.
2. **Errors related to Invalid Header Values**: At times, an incorrect or unsupported value might be passed in a header, causing this error. Cross-check the values provided against the allowed ones mentioned in our documentation.


## Related topics

- [MCP Gateway: Common issues and resolutions](/docs/aigw/help-center/mcp-gateway-troubleshooting.md)
- [Errors](/docs/aigw/api-reference/admin-api/error.md)
- [Error AB03: You do not have enough permissions](/docs/aigw/help-center/you-do-not-have-enough-permissions.md)
- [CIE Directory Sync](/docs/aigw/product/enterprise-offering/org-management/directory-sync/cie-directory-sync.md)
