Admin API Error Codes
Below is a list of error codes returned by the Portkey Admin API. These help with debugging failed requests and ensuring proper authentication, permissions, and request formatting.Error Reference
Notes on Common Errors
AB01 β Request Validation Error (400)This error usually happens when:
- Youβre either missing required parameters
- using incorrect data types (e.g., sending a number instead of a string)
- passing values that are not within the allowed set (enum violations).
AB05 β Unauthorized Access (401)This indicates that the user is not authorized to access the resource, often due to incorrect API key permissions.Common Cause: Your API key does not have the right permissions for this request.Fix: Go to app.portkey.ai β API Keys, and check the permissioning for your key. Ensure it includes the required scopes for the endpoint youβre calling.
Portkey is now PRISMA AIRS AI Gateway. See it in action.
Contact Us

