AnyRouteAnyRoute Docs
AnyRouteAnyRoute Docs
Homepage

Start Here

AnyRoute Documentation

Tools

Capabilities

API Reference

Operations

TroubleshootingAuth ErrorsProvider Group MismatchNo Available AccountQuota and BillingStreaming ErrorsGemini ErrorsImage Errors
FAQ
Troubleshooting

Auth Errors

Fix invalid API key and authorization issues.

Check these items first:

  1. The request includes Authorization: Bearer YOUR_ANYROUTE_API_KEY.
  2. The key has no extra spaces or quotes.
  3. The key is active in the Dashboard.
  4. The key is assigned to a provider group.
  5. The client is using the correct key field.

Common key fields:

ClientField
Claude CodeANTHROPIC_AUTH_TOKEN
OpenAI SDKOPENAI_API_KEY
CodexOPENAI_API_KEY in ~/.codex/auth.json
Gemini CLIGEMINI_API_KEY

Troubleshooting

Fix common AnyRoute configuration and API errors.

Provider Group Mismatch

Fix errors caused by using an endpoint with the wrong provider group.