# Internal error

The KeenAuth APIs return this problem type with HTTP status 500 (Internal Server Error).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/internal_error` |
| Code | `internal_error` |
| HTTP status | 500 Internal Server Error |
| Title | Internal error |

## Meaning

An unexpected error occurred; details are recorded in logs only.

## 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/internal_error",
  "title": "Internal error",
  "status": 500,
  "code": "internal_error",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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