> For the complete documentation index, see [llms.txt](https://support.iafcertsearch.org/api-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.iafcertsearch.org/api-developer-guide/api-zh/api-integration/errors.md).

# 错误

有时候您的API调用会出错。在这里，您将找到有关何时可以期望出错以及如果请求格式不正确或者我们未能正确处理您的请求时会发生什么的附加信息。

### 响应代码

状态代码说明

* 400 错误请求
* 401 需要身份验证
* 404 未找到
* 406 缺少Accept头信息。例如：`Accept: application/json`
* 429 请求过多/速率限制已超出
* 500 服务器内部错误

### 失败的请求

当返回相关状态代码时，会显示一般的格式指南。

```http
GET https://api.iafcertsearch.com/api/client/v1/resource HTTP/1.1
```

```http
HTTP/1.1 404 错误请求
Content-Type: application/json

{
    "errors": [
      {"code": "not_found", "message": "错误信息解释"},
    ]
}
```


---

# 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 dynamically by asking a question.

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

```
GET https://support.iafcertsearch.org/api-developer-guide/api-zh/api-integration/errors.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
