Unauthenticated
KeenAuth API は、この問題タイプを HTTP ステータス 401(Unauthorized)で返します。
問題タイプ
| フィールド | 値 |
|---|---|
| タイプ URI | https://docs.keenauth.com/errors/unauthenticated |
| コード | unauthenticated |
| HTTP ステータス | 401 Unauthorized |
| タイトル | Unauthenticated |
意味
API 契約からの説明(原文のまま、翻訳していません):
The credential is missing, invalid, expired or revoked. The response carries
WWW-Authenticate: Bearer.
レスポンスの例
レスポンス本文の例です。detail は人が読める英語の説明で、エンドユーザー向けではありません。instance はリクエストを識別します。
{
"type": "https://docs.keenauth.com/errors/unauthenticated",
"title": "Unauthenticated",
"status": 401,
"code": "unauthenticated",
"detail": "...",
"instance": "urn:idp:request:<request_id>"
}
すべてのエラーコード: エラーリファレンス。