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
- SAP HANA
Reproducing the Issue
- "Configure CORS support on your SAP HANA system" per https://help.sap.com/doc/00f68c2e08b941f081002fd3691d86a7/release/en-US/58c890e1c89d41e69b2cec31bac2d95f.html
- Create a working "Live Data Connection to SAP HANA using a Direct Connection"
- Some time later notice the error
- 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."
- Open the XS Admin Tool at http://<HANAHOST>:<HANAPORT>/sap/hana/xs/admin
- Search for ina
- Click sap.bc.ina.service.v2
- Click CORS tab
- Click the Revert Runtime Settings icon in the bottom right corner
- Check CORS
- Click Save
- Now the Runtime configuration settings will match the .xsaccess configuration file
- Help resources and free SAP Analytics Cloud content
- Help portal
- SAP Community (Questions & Answers / Direct Link to ask question / Blogs)
- SAP Community WIKI
- Improvement requests (on the SAP Customer Influence portal)
- Video tutorials
- Videos by topic areas: (Overview, Models and Connections, Stories, SAP Digital Boardroom, Planning, Collaboration, Administration)
- Training events
- Past event recordings
- New user handbook
- How to connect to on-premise data
- 2487011 - What information do I need to provide when opening incidents with SAP Analytics Cloud
- Introducing SAP BusinessObjects Cloud: BI and Planning (SAP Press book)
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.
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 , 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