SAP Knowledge Base Article - Public

3311769 - PTP Replication fails with error message "SFAPI query failed with HTTP Status 500 for Configuration ID"

Symptom

You are trying to replicate one or more employees from SucessFactors to ECP and when you check for the logs in SLG1 you see the error "SFAPI query failed with HTTP Status 500 for Configuration ID ..."

Environment

  • SuccessFactors Employee Central
  • ECP using PTP replication

Reproducing the Issue

  1. go to transaction SE38
  2. run the program RP_HRSFEC_PTP_EE_REPLICATION
  3. select your config ID and employee
  4. the replication is triggered
  5. check SLG1
  6. see the error message SFAPI query failed with HTTP Status 500 for Configuration ID ..."

Cause

The compound employee query is running and is retrieving an Invalid XML character, as a result the replication fails with error.

Resolution

Review the employee data in EC people profile and try to search by any invalid character such as emojis or symbols that may have been added into the employee's data.

Although SuccessFactors application accepts it, the replication don't and will fail.

In case you cannot find any special characters, then please log a case to LOD-SF-INT-API.

PS PEOPLE: please refer to internal memo

Keywords

KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions

Attachments

Pasted image.png