Bearer token authorisation:
Errors (status code, error code, description):
| HTTP status code | error code (error) |
description (message) |
WWW-Authenticate |
|---|---|---|---|
| 401 (unauthorized) | token_missing |
Request lacks any authentication information. | Bearer realm="OAuth API” |
| 400 (bad request) | invalid_request |
The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats the same parameter, uses more than one method for including an access token, or is otherwise malformed. | Bearer realm="OAuth API", error="#{code}", error_description="#{message}” |
| 401 (unauthorized) | invalid_token |
The access token provided is expired, revoked, malformed, or invalid for other reasons. | Bearer realm="OAuth API", error="#{code}", error_description="#{message}” |
| 401 (unauthorised) | insufficient_scope |
The request requires higher privileges than provided by the access token. | `Bearer realm="OAuth API", error="#{code}", error_description="#{messa |