Wrong region

The KeenAuth APIs return this problem type with HTTP status 421 (Misdirected Request).

Problem type

Field Value
Type URI https://docs.keenauth.com/errors/wrong_region
Code wrong_region
HTTP status 421 Misdirected Request
Title Wrong region

Meaning

The credential belongs to an environment in another region; the correct_host extension names the right host.

Extension members

The response body carries these additional members:

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/wrong_region",
  "title": "Wrong region",
  "status": 421,
  "code": "wrong_region",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>",
  "correct_host": "..."
}

All error codes: Error reference.