This problem occurs when the requested resource could not be returned as the client request lacked valid authentication credentials.
Your client application issued a requested to a protected resource without supplying the required auth details.
Type URI | Title | Recommended HTTP Status Code | Reference |
---|---|---|---|
about:blank | See HTTP Status Code | N/A | RFC9457 |
Note A problem is generally not meant to be used for end-user input validation, but for client developer convenience.
Examples of an unauthorized
problem details:
{
"type": "https://problems-registry.smartbear.com/unauthorized",
"title": "Unauthorized",
"detail": "Access token not set or invalid, and the requested resource could not be returned",
"status": 401,
"code": "401-01"
}
{
"type": "about:blank",
"title": "Unauthorized",
"detail": "Access token not set or invalid, and the requested resource could not be returned",
"status": 401,
"code": "401-01"
}