# Malformed request

Die KeenAuth-APIs liefern diesen Problemtyp mit dem HTTP-Status 400 (Bad Request).

## Problemtyp

| Feld | Wert |
|---|---|
| Typ-URI | `https://docs.keenauth.com/errors/malformed_request` |
| Code | `malformed_request` |
| HTTP-Status | 400 Bad Request |
| Titel | Malformed request |

## Bedeutung

Beschreibung aus dem API-Vertrag (Originaltext, nicht übersetzt):

> The request body is not valid JSON, has the wrong content type or contains a duplicate key.

## Beispielantwort

Beispiel für einen Antworttext. `detail` ist eine für Menschen lesbare englische Beschreibung, die nicht für Endnutzer gedacht ist; `instance` kennzeichnet die Anfrage.

```json
{
  "type": "https://docs.keenauth.com/errors/malformed_request",
  "title": "Malformed request",
  "status": 400,
  "code": "malformed_request",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

Alle Fehlercodes: [Fehlerreferenz](/docs/errors).
