Errors and troubleshooting
Record the error first
Section titled “Record the error first”Keep the request time and timezone, endpoint, model ID, HTTP status and redacted error response. Include a request ID where available. A client’s short failure message alone is insufficient. Hide Authorization, x-api-key and personal information before sharing logs.
| Status or symptom | Likely area | Next step |
|---|---|---|
| 400 | Parameters, message order or unsupported tools | Test minimal input and restore options one at a time |
| 401 | Missing, invalid or expired key | Check key and authentication header |
| 403 | Permissions, model or IP restrictions | Check key and group |
| 404 | Endpoint or model ID | Check the final URL and exact ID |
| 413 | Request too large | Reduce images, files or history |
| 429 | Frequency, concurrency or upstream limits | Read the error and reduce load |
| 500 / 502 / 503 | Temporary route or service error | Keep the record and retry within limits |
| 504 / timeout | Client, proxy or upstream timeout | Check completion logs before retrying |
| HTML response | Request reached a website route | Check the complete API address |
Standard verification order
Section titled “Standard verification order”Query /v1/models, send a short request using the same key and model, and check the key’s group and restrictions. After the basic request succeeds, restore streaming, tools, images or thinking settings one at a time. Compare a failing client’s actual URL and model with your working request.
No available channel
Section titled “No available channel”This can indicate an unavailable route in the selected group, a disabled channel or a mapping mismatch, not only a nonexistent model. A public catalog entry does not grant every key access through every group. Share the redacted error’s model and group with support.
Retry strategy
Section titled “Retry strategy”Do not repeatedly retry authentication or parameter failures. For recoverable temporary failures, use bounded exponential backoff and respect a supplied Retry-After header. Do not silently append a restarted generation to partial streamed output.
Support QQ: 318401088. Provide time, model, path, status, redacted error text and any request ID. Never publish a real key in a screenshot, group chat or ticket.
