SAP Knowledge Base Article - Public

2557845 - Failed to connect to system in SAP Analytics Cloud (BOC)


Failed to connect to system in SAP Analytics Cloud (formerly known as SAP BusinessObjects Cloud / BOC)

Google Chrome Developer Tools show that https://<HANAHOST>:<HANAPORT>/sap/bc/ina/service/v2/GetServerInfo failed with 401 Unauthorized

401 - Not authorized You're not allowed to access the specified resource. Credentials are missing or incorrect.

Possible solution Please enter valid credentials when being prompted. In case you forgot your credentials please contact your system administrator.


  • SAP Analytics Cloud

Reproducing the Issue

  1. "Configure CORS support on your SAP HANA system" per
  2. Create a working "Live Data Connection to SAP HANA using a Direct Connection"
  3. Some time later notice the error
  4. Check sap/bc/ina/service/v2/.xsaccess and notice that the CORS configuration is unchanged


Someone has edited the CORS configuration in the Runtime Configuration Details in the XS Admin Tool

Per SAP HANA help "Runtime configuration settings override any settings in the application's corresponding application-access (.xsaccess) configuration file."


  1. Open the XS Admin Tool at http://<HANAHOST>:<HANAPORT>/sap/hana/xs/admin
  2. Search for ina
  3. Click sap.bc.ina.service.v2
  4. Click CORS tab
  5. Click the Revert Runtime Settings icon in the bottom right corner
  6. Check CORS
  7. Click Save
  8. Now the Runtime configuration settings will match the .xsaccess configuration file

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.


EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Hana Cloud for Planning, EPM-ODS, Cloud for Analytics, C4P, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, HCP, C4A, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJ, BOBJcloud, BOCloud., BICloud, BO Cloud, connecting, conecting, conectando, conexão, modelo, SBOC, SAC, SAP BusinessObjects Cloud, Business Objects, SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, CORS, xsaccess, xsadmin , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem


SAP Analytics Cloud 1.0