# Erreurs

Parfois, votre appel à l'API générera une erreur. Ici, vous trouverez des informations supplémentaires sur ce à quoi vous pouvez vous attendre si vous ne formatez pas correctement votre demande, ou si nous échouons à traiter correctement votre demande.

### Codes de réponse

Code Statut Description

* 400 Mauvaise demande
* 401 Authentification requise
* 404 Non trouvé
* 406 En-tête Accept manquant. Par exemple: `Accept: application/json`
* 429 Trop de demandes/limite de taux dépassée
* 500 Erreur interne du serveur

### Demandes échouées

Les directives générales de format sont affichées lorsque le code d'état d'accompagnement est renvoyé.

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

```http
HTTP/1.1 404 MAUVAISE DEMANDE
Content-Type: application/json

{
    "errors": [
      {"code": "not_found", "message": "message d'erreur expliqué"},
    ]
}
```


---

# 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:

```
GET https://support.iafcertsearch.org/api-developer-guide/api-fr/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.
