SAP Knowledge Base Article - Public

3327922 - "Unable to authenticate the client (Login failed - invalid user)" when using OAuth connection to SuccessFactors in SAC

Symptom

You built a SuccessFactors connection in SAC using OAuth and it's failing with this error:
"Unable to connect to datasource. Check the connection details and user credentials, and then try again.".

When looking further in the SAC logs, you'll see that this is the actual error coming from SF:
"Unable to authenticate the client (Login failed - invalid user)"

Environment

  • SAP SuccessFactors HCM Suite
  • SAP Analytics Cloud

Cause

You are providing the username of the SuccessFactors user in the connection configuration.

Resolution

SuccessFactors expects the user ID of the user configured in SAC in order to do the OAuth authentication.

So please make sure that you are providing the user ID of the SuccessFactors user instead of its username in the connection configuration. 

See Also

2668018 - Error message: "Unable to authenticate the client (Login failed - invalid user)" for Oauth Authentication

Keywords

sf, successfactors, sac, analytics cloud, connector, connection, username, userid, 401 , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , LOD-ANA-AQU-ODATA , Acquiring Data into SAC using an ODATA connection , Problem

Product

SAP SuccessFactors HCM Suite all versions