常见错误码
排查请求失败时的 HTTP 状态与 error 字段
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
排查请求失败时的 HTTP 状态与 error 字段
| 状态 | 含义 | 处理建议 |
|---|---|---|
| 401 | Key 无效或未传 | 检查 Authorization Header |
| 403 | 无权限访问该模型 | 确认分组与模型限制 |
| 429 | 触发限速 | 降低 QPS 或联系管理员 |
| 402 | 余额不足 | 充值或调整配额 |
| 500 / 502 | 上游或网关异常 | 稍后重试,查看服务状态 |
{
"error": {
"message": "...",
"type": "invalid_request_error",
"code": "model_not_found"
}
}
