Interface Unauthorized

The error when the client is missing authorization. This error often occurs when the user doesn't pass in the required authentication or passes in invalid credentials.


Example

{
"type": "UNAUTHORIZED",
"status": 401,
"message": "The user is missing authentication or the passed credentials are invalid"
}

Hierarchy

Properties

Properties

message: string

A brief explanation of the error.

status: number

The HTTP status of the error.

type: "UNAUTHORIZED"