Static key disallowed

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

Problem type

Field Value
Type URI https://docs.keenauth.com/errors/static_key_disallowed
Code static_key_disallowed
HTTP status 401 Unauthorized
Title Static key disallowed

Meaning

The environment policy does not allow static API keys.

Example response

Example response body. detail is a human-readable English description that is not meant for end users; instance identifies the request.

{
  "type": "https://docs.keenauth.com/errors/static_key_disallowed",
  "title": "Static key disallowed",
  "status": 401,
  "code": "static_key_disallowed",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}

All error codes: Error reference.