# Duplicate key

The KeenAuth APIs return this problem type with HTTP status 400 (Bad Request).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/duplicate_key` |
| Code | `duplicate_key` |
| HTTP status | 400 Bad Request |
| Title | Duplicate key |

## 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/duplicate_key",
  "title": "Duplicate key",
  "status": 400,
  "code": "duplicate_key",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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