SAP Knowledge Base Article - Public

3350811 - Error "API[LGN0015]Authentication failed. You have entered an incorrect username or password (status code = 4)" in SuccessFactors OData API


While calling SuccessFactors with Odata API, are you facing the error below:

"API[LGN0015]Authentication failed. You have entered an incorrect username or password (status code = 4)."


SAP SuccessFactors HXM Suite

Reproducing the Issue

Perform an OData API call to SuccessFactors.


There are some possible multiple causes:

  1. Wrong username and/or password;
  2. Not synchronized password (assumption);
  3. API user with SSO login method set;


For cause 1: Check carefully if the username and/or password are truly valid. A simple test you could do is to login into the SuccessFactors instance providing these values.

For cause 2: Try to reset the password, this could help to synchronize it (Under Reset User Passwords).

For cause 3: There are two scenarios:

  • If your instance is SSO enabled without IAS/IPS, you should go through the KBA 2505553 resolutions and set the API user's login method as PWD;
  • If your SF instance is SSO enabled with IAS/IPS, you just need to use the user password from SF system and not from IAS/IPS feature;

See Also

KBA 2505553 - Basic authentication is not working in a SSO enabled instance - SuccessFactors 

KBA 2791410 - Integrating SuccessFactors with Identity Authentication through the Upgrade Center 


api user, 401, unauthorized, authentication, credential, credentials, IAS, IPS , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem


SAP SuccessFactors HXM Suite all versions