Code example

If an OAuth error is encountered, it’ll be a JSON encoded array similar to:

OAuth error
1
2
3
4
{
  "error": "invalid_grant",
  "error_description": "The access token provided has expired."
}