Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeMidnight
{
  "error_description": "The access token is missing",
  "error": "invalid_request"
}

Invalid token

If you provide an invalid or expired bearer access token, you will receive the following message in addition to the 401 error code:

Code Block
languagejs
themeMidnight
{
  "error_description": "The access token is invalid or has expired",
  "error": "invalid_token"
}

Missing scope

If your client credentials contain the required scope, but your bearer access token does not, you will receive the following message in addition to the 401 error code:

Code Block
languagejs
themeMidnight
{
    "message": "Unauthorized"
}

Error code 403 Forbidden

The Insights Stats API returns 403 Forbidden in response to a request that is not authorized.

...