Client Configuration Check
For client issues, it is recommended to troubleshoot in five steps: “address, key, model, network, and feature compatibility.” Do not rely solely on the client pop-up; it is best to also check the CloudAIKit console logs.
Five-Step Check
- Address: Confirm whether the Base URL contains a duplicate or missing
/v1. - Key: Confirm that Authorization uses
Bearer sk-..., and that the token is not disabled, expired, or over its quota. - Model: Confirm that the model name comes from the platform model list and that the current account has permission to call it.
- Network: Confirm that the network where the client is located can access the platform domain, and that the proxy and certificate are not blocking the request.
- Features: Confirm that the model, channel, and client all support images, tool calls, streaming output, or file capabilities.
Log Analysis
- No platform logs: The request may not have reached CloudAIKit. Check the client address, network, proxy, and CORS first.
- Platform shows 401/403: The request reached the platform, but authentication or permission verification failed.
- Platform shows 429: Rate limiting or quota control was triggered.
- Platform shows 5xx or an upstream error: Continue checking the channel, upstream key, proxy, and service provider status.
Quick Troubleshooting
Test using the same Base URL, API Key, and model name in cURL from Quick Code Examples. When cURL succeeds, the issue can generally be narrowed down to client configuration or compatibility.
Common Symptoms and Recommended Actions
| Symptom | Check First |
|---|---|
| No platform logs | Base URL, DNS, proxy, certificate, and client network permissions |
| 401/403 returned | Token format, token status, model permissions, user groups, and IP restrictions |
| 404 returned | Whether /v1 is duplicated, whether the endpoint path is correct, and whether the model name exists |
| 429 returned | RPM, TPM, concurrency, balance, and background looping tasks |
| 5xx returned | Channel health, upstream key, proxy, request size, and service provider status |
After troubleshooting, delete old tokens saved in the client to prevent the application from continuing to use credentials that have already been revoked.
