Invalid token

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

問題タイプ

フィールド 値
タイプ URI https://docs.keenauth.com/errors/invalid_token
コード invalid_token
HTTP ステータス 401 Unauthorized
タイトル Invalid token

意味

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

The dashboard access token or the eu0 identity token is invalid: the scheme is not DPoP, or the typ, alg, kid, signature, iss, aud or lifetime check fails (RFC 6750 §3.1). The response carries WWW-Authenticate: DPoP error="invalid_token".

レスポンスの例

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

{
  "type": "https://docs.keenauth.com/errors/invalid_token",
  "title": "Invalid token",
  "status": 401,
  "code": "invalid_token",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}

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