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

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

Environment

  • SAP Analytics Cloud

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.
Please rate how useful you found this article by using the star rating feature at the beginning of this article.
Thank you.

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 , SAP Analytics Cloud - Business Intelligence (BOC) , LOD-ANA-PL , SAP Analytics Cloud – Planning (BOC) , LOD-ANA-BR , SAP Analytics Cloud - Digital Boardroom , LOD-ANA-PR , SAP Analytics Cloud – Predictive (BOC) , Problem

Product

SAP Analytics Cloud 1.0