# エラー

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 BAD REQUEST
Content-Type: application/json

{
    "errors": [
      {"code": "not_found", "message": "エラーメッセージの説明"},
    ]
}
```


---

# 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://support.iafcertsearch.org/api-developer-guide/api-ja/api-integration/errors.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.
