An overview on error codes you might see from Proxy API. Some error codes mentioned in the overview have a dedicated section with further guidance.
Status | Type | Code | Message |
---|---|---|---|
400 | bad_request_error | invalid_deployment_name | Not valid deployment name |
400 | bad_request_error | invalid_model | Not a valid model name |
400 | bad_request_error | missing_model | Missing model in the request body |
400 | bad_request_error | missing_authorization_header | Missing Authorization request header |
400 | bad_request_error | invalid_authorization_header | Invalid Authorization request header |
400 | bad_request_error | missing_cogcache-openai-api-base_header | Missing CogCache-OpenAI-Api-Base request header |
400 | bad_request_error | invalid_cogcache-openai-api-base_header | Invalid CogCache-OpenAI-Api-Base request header |
400 | bad_request_error | missing_cogcache-auth_header | Missing CogCache-Auth request header |
400 | n/a | content_filter | The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry. To learn more about our content filtering policies please read our documentation: https://go.microsoft.com/fwlink/?linkid=2198766 |
401 | authorization_error | invalid_cogcache-auth_header | Invalid CogCache-Auth request header |
401 | authorization_error | temporarily_disabled_cogcache_api_key | The provided CogCache API key is temporarily disabled |
401 | authorization_error | no_active_subscription | The provided CogCache API key is disabled, no active subscription |
401 | authorization_error | wrong_subscription_type | You have a cache only subscription that works with your own Azure OpenAI deployment. Learn more here: https://cogcache.readme.io/reference/integrations-your-azure-deployment |
504 | gateway_timeout | response_not_found_in_cache | No response was found in cache for the provided prompt. |
400
- bad_request_error
- missing_cogcache-openai-api-base_header
400
- bad_request_error
- missing_cogcache-openai-api-base_header
This error is thrown only if you have a standard subscription where you pay by cache items (not by tokens) and you fail to send the CogCache-OpenAI-Api-Base
request header.
401
- authorization_error
- temporarily_disabled_cogcache_api_key
401
- authorization_error
- temporarily_disabled_cogcache_api_key
This error is thrown if your subscription was temporarily paused. This might happen if there is a problem with subscription payment.
401
- authorization_error
- no_active_subscription
401
- authorization_error
- no_active_subscription
This error is thrown when your CogCache subscription was cancelled. To restore the service you need to purchase a new CogCache subscription.