When triggering an API the following error message response: ‘401: Unauthorized’

Also you may have this error: I can’t find the IP allow list in “Company System and Logo Settings”.

SuccessFactors Application supports IP address restriction as a security method. The feature used to be managed from Company System and Logo Settings, but now there is a new transaction to manage the allow list.

TRANSACTION: IP Restriction Management

  • With this method the client provides specific IP addresses (single ones or ranges of addresses) that will be able to access the SuccessFactors Application.
  • Only users from these addresses can access the SuccessFactors Application and all others will get a notification when trying to login that they do not have access.

First of all, check the correct configuration of your technical user

  1. Go to admin tool
  2. Under Manage Employees, click on  Reset User Passwords
  3. Click on “Reset individual user password (with supplied password)“, if not already selected.
    2.png
  4. Search for the API user on your intance, this is the user for whom we want to reset the password.
  5. Select the user, and enter the new password and click on the “Reset User Password” button.
3.png

In order to further avoid the expiration of the password, in which case the integrations would fail if not addressed.

Go to Admin Tools > Password & Login Policy Settings


Here, set the Maximum Password Age (in days) to -1 to avoid expiry of the API User from under “Set API login exceptions…

NOTE: If your system is SSO enabled (IAS/IPS or External SSO provider/3rd party) – In order to reset the API user’s password for API access, you must follow the process above via “Reset individual user password (with supplied password)“. This cannot be done through the SSO.

Check if the Technical User has the correct Permissions

Testing a connection with Postman

https://www.iammika.blog/how-to-test-successfactors-api-with-postman/

Leave a Reply 0

Your email address will not be published. Required fields are marked *