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

PropertyTypeDescription
messagestringA message to the user explaining why the request was not authorized
codestringAlways "Unauthorized"
Example authorization error
// HTTP status 401
{
	"code": "Unauthorized",
  "message": "Missing OAuth token in request"
}