HR integration how to connect to Successfactors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 04:07 AM
Hello!
I try to configure the interface between SuccessFactors and ServiceNow by using the HR Integrations Application.
I now followed the instructions on https://docs.servicenow.com/bundle/newyork-hr-service-delivery/page/product/human-resources/concept/...
and followed them step by step.
Unfortunately, it is not working now and I get the following errors in the log:
1. Failed to retrieve login session token from SuccessFactor
2. ..... Method failed: (/sf/start/) with code: 400
3. SuccessFactors ...... Status: 400 Error:
If I go through the links manually in my browser, then I can use the credentials successfully.
I configured SOAP and REST. But I found the message in the SuccessFactors SOAP interface :
Please Note - SFAPI is depricated as of August 1, 2018. Please use OData for new development and consider moving your legacy applications and integrations to OData.
Question:
1) Can anyone help me with the error messages? What do they mean? What do I need to change?
2) What is with the message regarding the SFAPI in SuccessFactors?
Many thanks, any help is welcome!
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 06:37 AM
Hi Mike,
okay thank you, I tried several Endpoint URLs now. All were not working. I will list the most important ones below:
https://hcm12preview.sapsf.eu:443/sfapi/v1/soap
WSDL:
https://hcm12preview.sapsf.eu/sfapi/v1/soap?wsdl
https://api12preview.sapsf.eu:443/sfapi/v1/soap
WSDL:
https://api12preview.sapsf.eu:443/sfapi/v1/soap?wsdl
I always clicked on:
Generate SOAP sample messages after applying the new wsdl link. Is this correct?
Also, if I go to https://api12preview.sapsf.eu/login and put my company id in it, I will be redirected to enter Username and Password. Can this cause the problem?
Where can I find the correct Endpoint URL?
Thank you very much Mike!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 07:10 AM
You do not need to regenerate the WSDL. In my instance I use the path to my SFSF instance, not the api. You would use the path to your SFSF instance like the example I sent earlier -https://salesdemo6.successfactors.com:443/sfapi/v1/soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2021 09:41 PM
Hi
I am in a similar situation with trying to get the SuccessFactors integration working.
I was wondering if you could advise how I can pull employee information from SuccessFactors then map it to users in ServiceNow?
E.g. Pull the employee ID of each user in SuccessFactors then map it to users in ServiceNow.
Any help is highly appreciated!
Thanks
Tom

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2021 06:19 AM
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2021 09:38 PM
Thank you for your reply
I have managed to get the following configured so far:
- Added the SuccessFactors API account details in the 'HR Integrations Source' section in ServiceNow. I have added both SOAP and REST Credentials.
- I can confirm that when I go to the 'HR Web Services / HR REST Services / SuccessFactors OData API' section and test each of the following HTTP Methods for t I get a response data:
- Get Department Information
- Get Location Information
- Get Job Profile Information
- Get To-dos
- When I go to the 'HR Web Services / HR SOAP Services / Success Factor Compound Employee Sync' and then test one of the SOAP Message functions such as 'Login', I get the following error (I'm not too sure if SOAP needs to be configured if REST works ok?):
- <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><loginResponse xmlns="urn:sfobject.sfapi.successfactors.com" xmlns:ns2="urn:fault.sfapi.successfactors.com"><result><sessionId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /><msUntilPwdExpiration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /><error><errorCode>FAILED_AUTHENTICATION</errorCode><errorMessage>Authentication failed, no API login permission(status code = 14)</errorMessage></error></result></loginResponse></S:Body></S:Envelope>
- When I test the 'HR Integrations Schedule Jobs / HR Integrations-SuccessFactors Sync' job, it runs for about 10-15 seconds then fails with the following error:
- SuccessFactors-b75851a11b8ff410ba32bbbbdc4bcb5e Failed to retrieve login session token from SuccessFactor: FAILED_AUTHENTICATION Error: Authentication failed, no API login permission(status code = 14)
- I can confirm that I can login to the SuccessFactors portal with the credentials I have been given. Does the SuccessFactors API account need any specific permissions set up in SuccessFactors?
Thank you for your help!