# Invalid credentials

The KeenAuth APIs return this problem type with HTTP status 401 (Unauthorized).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/invalid_credentials` |
| Code | `invalid_credentials` |
| HTTP status | 401 Unauthorized |
| Title | Invalid credentials |

## Meaning

The single generic sign-in error: wrong password, or an unknown, locked, blocked or inactive account. Details appear only in the environment log.

## Example response

Example response body. `detail` is a human-readable English description that is not meant for end users; `instance` identifies the request.

```json
{
  "type": "https://docs.keenauth.com/errors/invalid_credentials",
  "title": "Invalid credentials",
  "status": 401,
  "code": "invalid_credentials",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

All error codes: [Error reference](/docs/errors).
