# Fehler

Manchmal erzeugt Ihr API-Aufruf einen Fehler. Hier finden Sie weitere Informationen darüber, was zu erwarten ist, wenn Sie Ihre Anfrage nicht ordnungsgemäß formatieren oder wenn wir Ihre Anfrage nicht korrekt verarbeiten können.

### Antwortcodes

Statuscode Beschreibung

* 400 Schlechte Anforderung
* 401 Authentifizierung erforderlich
* 404 Nicht gefunden
* 406 Fehlender Accept-Header. Beispiel: `Accept: application/json`
* 429 Zu viele Anfragen/Rate Limit überschritten
* 500 Interner Serverfehler

### Fehlgeschlagene Anfragen

Die allgemeinen Formatrichtlinien werden angezeigt, wenn der entsprechende Statuscode zurückgegeben wird.

```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": "Fehlermeldung erklärt"},
    ]
}
```


---

# 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-de/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.
