Symptom
While accessing SuccessFactors instance via API, the following error is returned:
<error>
<errorCode>FAILED_AUTHENTICATION</errorCode>
<errorMessage> Authentication failed. Attempted login from unauthorized ip: 000.000.000.000 to company id: xyz by username: user(status code = 8)</errorMessage>
</error>
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HXM Suite
- OData API
- SFAPI
Cause
An IP address restriction was configured for the API user and the IP address from the error message was not included in the restriction.
Resolution
You'll have to include the IP address from the error message in the restrictions of the API user.
In order to do that, please follow the steps from KBA 2253200.
See Also
Keywords
FAILED_AUTHENTICATION, Authentication failed, SFAPI, OData, API Login Exceptions, 401, login from this IP address is prohibited, restriction , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-INT-API , API & Adhoc API Framework , Problem