# 错误代码

<table><thead><tr><th width="115" align="center">错误码</th><th width="167" align="center">描述</th><th align="center">原因</th><th align="center">解决方法</th></tr></thead><tbody><tr><td align="center">400</td><td align="center">格式错误</td><td align="center">请求体格式错误</td><td align="center">根据错误信息提示修改请求体</td></tr><tr><td align="center">401</td><td align="center">认证失败</td><td align="center">API key 错误，或被封禁,认证失败</td><td align="center">检查 API key 是否正确</td></tr><tr><td align="center">403</td><td align="center">无权限</td><td align="center">请求操作无权限</td><td align="center">根据错误信息提示修改相关参数</td></tr><tr><td align="center">429</td><td align="center">请求速率达到上限</td><td align="center">请求速率（TPM 或 RPM）达到上限</td><td align="center">合理规划请求速率</td></tr><tr><td align="center">500</td><td align="center">服务器故障</td><td align="center">服务器内部故障</td><td align="center">等待后重试，或联系我们解决</td></tr><tr><td align="center">503</td><td align="center">用户组无法使用模型端点</td><td align="center">用户组没有权限使用模型端点</td><td align="center">确认令牌所使用的模型端点不支持该用户组，或联系我们解决</td></tr><tr><td align="center">504</td><td align="center">请求超时</td><td align="center">服务器在规定时间内未响应</td><td align="center">稍后重试请求，或联系我们解决</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.ocoolai.com/question/error_codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
