Errors and Status Codes
Error meanings and troubleshooting
| Status | Meaning | Action |
|---|---|---|
400 | Invalid request | Check JSON and model-supported fields |
401 | Authentication failed | Check the header and API key |
403 | Access restricted | Check account, group, and allowlist |
404 | Resource not found | Check path, model ID, or task ID |
429 | Rate or quota limit | Back off and check balance and RPM/TPM |
500 | Service error | Retry later and retain the request ID |
Verify that OpenAI-compatible base URLs retain /v1, while the Anthropic base URL does not include it.