401 - Unauthorized

An authorization error is an API operation denial which corresponds to a 401 HTTP status.
Please read Authentication guide to understand how to authorize your application.

An authorization error occurs when:

  • Client is not authorized to perform the operation
  • Authentication token is missing or invalid

Authorization Error Object

Property

Type

Description

message

string

A message to the user explaining why the request was not authorized

code

string

Always "Unauthorized"

Example authorization error
// HTTP status 401
{
    "code": "Unauthorized",
  "message": "Missing OAuth token in request"
}

Did this page help you?