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
- Verify if the server is ready to get external (from internet) connections, normally, the local IT team can provide support for this.
- 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-CPI-ERP , Standard SF to SAP ERP or S/4HANA Integration using CPI , LOD-SF-INT-CPI , Standard SF to 3rd Party CPI (HCI) Content , How To