> For the complete documentation index, see [llms.txt](https://documentation.ocoolai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ocoolai.com/question/error_codes.md).

# 错误代码

<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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
