# Publishable key not allowed

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

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/publishable_key_not_allowed` |
| Code | `publishable_key_not_allowed` |
| HTTP status | 401 Unauthorized |
| Title | Publishable key not allowed |

## Meaning

A publishable key was used on the Management API.

## 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/publishable_key_not_allowed",
  "title": "Publishable key not allowed",
  "status": 401,
  "code": "publishable_key_not_allowed",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

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