Symptom
Integration center using Oauth return an error ServiceApplicationException: Failed due to - Failed to get access token due the Response from server https://zzz.com/x/y
Environment
SAP SuccessFactors HCM Suite
- Integration center
Cause
Cause 1: A network console verification show a code "201 Created" returning from Token endpoint.
Cause 2: Some endpoint need inclusion of grant_type details in the header parameters.
Cause 3: Refresh token bigger than 255 characters
Resolution
Cause 1: Token endpoint need to send code "200 OK".
Cause 2: In Security Center, the grant_type to be supported by the OAuth server as a body parameter.
Cause 3: Refresh token supported by Integration Center have a limitation restricting the number of characters for the refresh token to 255. Token endpoint need to be set to use 255 characters or less.
See Also
Keywords
201 created, 200 ok, ServiceApplicationException, Failed to get access token due the Response from server, integration center oauth, oauth fail, token endpoint , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-INC , Integration Center , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , Problem
SAP Knowledge Base Article - Public