SAP Knowledge Base Article - Public

2351623 - 401 2: SAP Analytics Cloud gives "Unexpected response from SuccessFactors driver: {"status":401};{2}" connecting to SAP SuccessFactors

Symptom

  • SAP Analytics Cloud connection to SAP SuccessFactors does not save (or get created / finish / complete) when creating a new connection and clicking the "Create" button.
  • The following error appears under the System > Monitor menu Trace section (tab):
    • ERROR     ADMIN     sap.fpa.services.resource.dm     Unexpected response from SuccessFactors driver: {"status":401};{2}
      Error401.2
  • Stack error:
    Exception@/sap/fpa/services/core/system/Exception.xsjslib:105
    ExceptionCloudAgentBase@/sap/fpa/services/dm/agent/CloudAgentBase.xsjslib:20
    @/sap/fpa/services/dm/agent/CloudAgentBase.xsjslib:118
    @/sap/fpa/services/dm/RestDataIntegration.xsjslib:214
    handleRequest@/sap/fpa/services/GetResponse.xsjs:270
    @/sap/fpa/services/GetResponse.xsjs:309

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP Analytics Cloud
  • SAP Success Factors

Reproducing the Issue

  1. Create a connection to SAP SuccessFactors in SAP Analytics Cloud
  2. Notice the error in the System > Monitor menu Trace section (tab)

Cause

  • The connection parameters are not configured correctly.

Resolution

  1. Please follow the steps in the SAP Analytics Cloud online help to create a new SAP SuccessFactors connection.
  2. Pay special attention to the following fields
    1. Service URL - The service URL is based on the SuccessFactors data center. It can be found in the SuccessFactors documentation at About HCM Suite OData APIs
      For example: If your data center is Chandler1/HCM (DC4) you would use the following Service URL: https://api4.successfactors.com
      DataCenter Information Environment Endpoint URL (oDataServiceUrl)
      Chandler1/HCM (DC4) Production

      https://api.successfactors.com/odata/v2/


      Note:
       Remove the "/odata/v2" from the URL.

    2. Client ID - See the API Key of the Manage OAuth2 Client Applications administration screen in your SAP SuccessFactors system:
      APIKey.gif 

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Hana Cloud for Planning, EPM-ODS, Cloud for Analytics, C4P, Cloud 4 Planning, HCP, C4A, BOC, SAP BusinessObjects Cloud, bobj, 401-2,401_2,401.2 , KBA , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem

Product

SAP Analytics Cloud 1.0