Response to server-side API requests: 401: Unauthorized
リクエストは、認証情報が未指定または誤っているために失敗しました。認証ページで Authorization header を確認してください。
また、指定されたプロファイルが見つからなかったためにリクエストが失敗しました。
ボディ
| パラメーター | 型 | 説明 |
|---|---|---|
| errors | Object |
|
| error_code | String | エラーの短い名称。常に not_authenticated。 |
| status_code | Integer | HTTP ステータス。常に 401。 |
レスポンス例
{
"errors": [
{
"source": "non_field_errors",
"errors": [
"Authentication credentials were not provided."
]
}
],
"error_code": "not_authenticated",
"status_code": 401
}