Wrong region

KeenAuth API は、この問題タイプを HTTP ステータス 421(Misdirected Request)で返します。

問題タイプ

フィールド 値
タイプ URI https://docs.keenauth.com/errors/wrong_region
コード wrong_region
HTTP ステータス 421 Misdirected Request
タイトル Wrong region

意味

API 契約からの説明(原文のまま、翻訳していません):

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

拡張メンバー

レスポンス本文には次の追加メンバーが含まれます:

レスポンスの例

レスポンス本文の例です。detail は人が読める英語の説明で、エンドユーザー向けではありません。instance はリクエストを識別します。

{
  "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": "..."
}

すべてのエラーコード: エラーリファレンス。