SAP Knowledge Base Article - Public

2768622 - HTTP response '502: Bad Gateway' on CPI - SAP CPI/HCI vs SAP ERP HCM

Symptom

CPI / HCI showing error:

org.apache.cxf.interceptor.Fault: Could not send Message., cause: org.apache.cxf.transport.http.HTTPException: HTTP response '502: Bad Gateway' when communicating with http://server1.domain.com:xxxx/...

Environment

  • SAP CPI/HCI connecting in your SAP HCM ERM ECC system.
  • Replicating Employee Master Data and Organizational Assignments from Employee Central to SAP ERP HCM

Cause

http://server1.domain.com:xxxx/... is unavailable to external connections or doesn't exists.

Resolution

  1. Verify if the server is ready to get external (from internet) connections, normally, the local IT team can provide support for this.
  2. Verify is the URL is right. On How to Find the Endpoint URLs chapter on Replicating Employee Master Data and Organizational Assignments from Employee Central to SAP ERP HCM to get the right Endpoint URL.

See Also

Similar issue can occurs with communication between CPI/HCI and ERP in other standard packages. Please find all the other handbooks in these links: SAP SuccessFactors Employee Central Integration to SAP Business Suite

Keywords

HTTP response 502, Bad Gateway, CPI, HCI error, error 502, org.apache.cxf.transport.http.HTTPException, SAP ERP HCM ECC , KBA , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , LOD-SF-INT-HCI , Std. SF to 3rd Party HCI Content , How To

Product

SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions