# Role mapping limit reached

The KeenAuth APIs return this problem type with HTTP status 409 (Conflict).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/role_mapping_limit_reached` |
| Code | `role_mapping_limit_reached` |
| HTTP status | 409 Conflict |
| Title | Role mapping limit reached |

## Meaning

The limit of 500 mappings per source (connection or directory) is reached.

## 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/role_mapping_limit_reached",
  "title": "Role mapping limit reached",
  "status": 409,
  "code": "role_mapping_limit_reached",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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