JSON Results and List of Error Codes
JSON Results and List of Error Codes

Success Result:

access_token, expires_in, scope, token_type fields are required in success results.

Fail Result:

This is an example of a response when a request is not authorized. Following that is the list of possible error codes.

List of Error Codes

  • success
  • invalid_request
  • unauthorized_client
  • access_denied
  • unsupported_response_type
  • invalid_scope
  • server_error
  • temporarily_unavailable

Optional error parameters

  • error_description
  • error_uri – URI for the detailed information regarding the error
If the state parameter is included in the request, it should also be included in the response.
Success Result
                                            
                                                {
	"access_token": "abc",
	"token_type": "fmac",
	"expires_in": "00:10:00",
	"scope": [
		"customer_create_issue"
	],
	"state": "the state when the request is issued"
}                                            
                                        
Fail Result
                                            
                                                {
	"state": "the state when the request is issued",
	"error": "access_denied"
}