Symptom
The following error occurs when configuring a HANA live connection in SAP Analytics Cloud (SAC):
- We couldn't connect to your HANA system. Possible causes: Third-party cookies are blocked, or CORS is not configured correctly. For more information, see our troubleshooting page.
Environment
- SAP Analytics Cloud (Enterprise)
- SAP HANA HDI in SAP Cloud Platform Cloud Foundry (live)
Reproducing the Issue
- Configure SAP HANA HDI in SAP Cloud Platform Cloud Foundry (live).
- Create live HANA connection in both SAC system A and SAC system B using the same connection information.
- In SAC system A, the live HANA connection is working.
- In SAC system B, error below happens when creating the live HANA connection:
We couldn't connect to your HANA system. Possible causes: Third-party cookies are blocked, or CORS is not configured correctly.
For more information, see our troubleshooting page.
Cause
- The host of SAC system B is not configured in the allowedOrigin part of the YAML configuration file.
- Further details can be found in step 6 of the Help Portal guide: Live Data Connection to SAP HANA Cloud Using a Direct Connection and SSO | SAP Help Portal
CORS: >
[
{
"uriPattern": "^/sap/bc/ina/(.*)$",
"allowedOrigin": [
{"host":"<orca-tenant-host>", "protocol":"https"}
],
"allowedMethods": ["GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE"],
"allowedHeaders": ["Origin", "Accept", "X-Requested-With", "Content-Type", "Access-Control-Request-Method", "Access-Control-Request-Headers", "Authorization", "X-Sap-Cid", "X-Csrf-Token"],
"exposeHeaders": ["Accept", "Authorization", "X-Requested-With", "X-Sap-Cid", "Access-Control-Allow-Origin", "Access-Control-Allow-Credentials", "X-Csrf-Token", "Content-Type"]
}
]
Resolution
Add the host of system B to the allowedOrigin part of YAML configuration file as well.
The format of multiple hosts is maintained as follows:
"allowedOrigin": [ {"host":"<host of your SAP Analytics Cloud tenant A>", "protocol":"https"},{"host":"<host of your SAP Analytics Cloud tenant B>", "protocol":"https"}]
Note:
Chrome Incognito mode (or similar mode for other browsers) may block third-party cookies by default.
Please check the browser setting to allow all cookies if the user wants to use Incognito mode.
See Also
- 2482807 - SAP Analytics Cloud Live connections requiring a Secure HTTPS Browser configuration with CORS enabled
- 2933072 - Error We couldn't connect to your HANA system. Possible causes: Third-party cookies are blocked, or CORS is not configured correctly happens when creating live HANA connection in SAP Analytics Cloud (SAC)
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using SAP for Me, Google or Bing:
- https://me.sap.com/servicessupport/search#?q=SAP%20Analytics%20Cloud%20OR%20SAC&tab=All
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, HANA, live, service, third, party, cookies, CORS, fail, failed, create, connections,
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, "{" error ": {" code ": 11," message ":" ina: Parameter 'Request' is missing. "}}" appears. From SAC tenant url still unable to connect to the system. HANA Live Data Connection Create Model 403 Error, create model from live data connection, Enable SAML SSO for SAC with Live Connection to HANA on SCP, the Live Connection in SAC is broken with error message as "Protocol Error: Error [Protocol]: (#73) Error [Protocol]: (#403)"
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, https://hcs.cloud.sap, https://hanacloudservices.cloud.sap, https://cloudanalytics.accounts.ondemand.com, https://hanacloudservices-us.accounts.ondemand.com, https://www.sap.com, https://help.sap.com, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software epm, business intelligence, , KBA , sac third-party cookies are blocked kba , saml sso not working for live data conne , for live data connection , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem