# Ip not allowed

The KeenAuth APIs return this problem type with HTTP status 403 (Forbidden).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/ip_not_allowed` |
| Code | `ip_not_allowed` |
| HTTP status | 403 Forbidden |
| Title | Ip not allowed |

## Meaning

The request comes from an IP address outside the key's IP allowlist.

## 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/ip_not_allowed",
  "title": "Ip not allowed",
  "status": 403,
  "code": "ip_not_allowed",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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