SAP Knowledge Base Article - Public

2910311 - HTTP response '401: null' in EC to Benefitfocus Integration - SAP SuccessFactors Employee Central in CPI

Symptom

EC to Benefitfocus Integration is failing and throwing the following error:

org.apache.cxf.transport.http.HTTPException: HTTP response '401: null' when communicating with https://*****-iflmap.hcisbt.us2.hana.ondemand.com/cxf/BenefitFocusCustomMappingiFlow

Environment

  • SAP Cloud Platform Integration (CPI)
  • SAP SuccessFactors Employee Central
    • Integrating SAP SuccessFactors Employee Central with WorkForce Software (SAP Cloud Platform Integration)

Cause

From the error the HTTP response is '401: null (indicates issues with authentication / unauthorized failure). After retrieve the logs we can see the following message error:

Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.]], cause: org.apache.cxf.transport.http.HTTPException: HTTP response '401: null' when communicating with https://*****-iflmap.hcisbt.us2.hana.ondemand.com/cxf/BenefitFocusCustomMappingiFlow

The 401 Unauthorized Error is an HTTP response status code indicating that the request sent by the client could not be authenticated.

You check that there were no issues with invalid iFlow URL, which is correct and that uses the S_ID as a credentials information.

This indicates issues with an expired password, so you will have to perform some checks regarding the Invalid Login Credentials. Check if the password is not correct and if it may be locked or expired.

Resolution

  1. Verify if the S_ID credentials are still valid to access the Iflow URL;
  2. Find the credential name on Manage Security Material and validate if the S_ID credentials used to access the Iflow URL are still valid;
  3. Update the credentials;
  4. Deploy this change;
  5. Re-run the scenario.

See Also

2693822 - Error message '401: Unauthorized'

Keywords

LOD-SF-INT-HCI, HTTP response '401: null', Invalid Login Credentials, SF EC to Benefitfocus, Custom Iflow, LOD-SF-INT, CPI, HCI, SAP SuccessFactors Employee Central, Integrating SAP SuccessFactors Employee Central with WorkForce Software (SAP Cloud Platform Integration) , KBA , LOD-SF-INT-CPI , Standard SF to 3rd Party CPI (HCI) Content , LOD-SF-INT , Integrations , LOD-SF-INT-CPI-TPI , Standard SF to 3rd Party Integration using CPI , How To

Product

SAP SuccessFactors Employee Central all versions