# Invalid token

Die KeenAuth-APIs liefern diesen Problemtyp mit dem HTTP-Status 401 (Unauthorized).

## Problemtyp

| Feld | Wert |
|---|---|
| Typ-URI | `https://docs.keenauth.com/errors/invalid_token` |
| Code | `invalid_token` |
| HTTP-Status | 401 Unauthorized |
| Titel | Invalid token |

## Bedeutung

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

> The dashboard access token or the eu0 identity token is invalid: the scheme is not DPoP, or the typ, alg, kid, signature, iss, aud or lifetime check fails (RFC 6750 §3.1). The response carries `WWW-Authenticate: DPoP error="invalid_token"`.

## 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/invalid_token",
  "title": "Invalid token",
  "status": 401,
  "code": "invalid_token",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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