Skip to content

ERR_AI_PERMISSION_DENIED β€” AI Permission Denied

HTTP Status: 502 Retryable: No Automatic retry: None. Permission errors are permanent until the key/account configuration changes.

What the User Sees

AI service access denied. The API key may not have the required permissions. (ERR_AI_PERMISSION_DENIED)

What Causes This Error

The API key is valid (authentication succeeded) but the key does not have permission to use the requested model or feature. This is distinct from ERR_AI_AUTH_INVALID where the key itself is rejected.

For Anthropic, this means the API key does not have access to the specific model being requested (e.g., Claude Sonnet 4). This can happen when a new model is released and access is gated behind a specific tier or approval process, or when the organization’s access to a model is revoked.

For Gemini, the error typically means the Generative AI API is not enabled in the associated Google Cloud project, or the project’s billing account has been suspended.

For OpenAI, this can occur when the organization’s billing status changes or when a model is deprecated and removed from the key’s allowed models.

Resolution Steps

For Users

  1. This error indicates a server configuration issue, not a problem with your document or account.
  2. Try the β€œbudget” quality tier, which may use a different AI provider that is not affected.
  3. If the error persists, contact support.

For Administrators

  1. For Anthropic: Check key permissions and model access at https://console.anthropic.com. Verify the organization has access to the model specified in the converter configuration (e.g., claude-sonnet-4-6).
  2. For Gemini: Verify the Generative AI API is enabled in the Google Cloud Console. Check the project’s billing status.
  3. For OpenAI: Check the organization’s billing status and verify model access at https://platform.openai.com.
  4. If a model was recently deprecated or renamed, update the model identifier in the converter configuration and redeploy.
  5. After fixing, run a test conversion to confirm the issue is resolved.