error property when a request fails.
When using OAuth 2.0 authentication, errors with HTTP status 400, 401, or 403 follow a different format. See the Error responses with OAuth section in Authentication.
Authentication and authorization errors
These errors include the appropriate HTTP status code in the response:HTTP 403 - Permissions do not cover the required scope for the operation. Additional details are provided in the message field