A request not being authorized can have 2 causes.
- No authorization parameters/credentials were provided (401001)
STATUS:
401 Unauthorized
BODY:
{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}
- The authorization parameters/credentials provided are not valid. (401002)
STATUS:
401 Unauthorized
BODY:
{
"code": 401002,
"message": "Incorrect authentication credentials.",
"detail": "Incorrect authentication credentials."
}