SAP Knowledge Base Article - Public

3149642 - "Unable to retrieve data from the data source." error when opening a Story based on HANA Direct live connection with SAML SSO in SAP Analytics Cloud (SAC)

Symptom

  • "Unable to retrieve data from the data source." error when opening a Story based on HANA Direct live connection with SAML SSO in SAP Analytics Cloud (SAC).
  • Existing connection is not working only for few users.
  • From the Google Developer tool Console log the following error can be captured: 

"Access to fetch at 'https://<host>.accounts.ondemand.com/saml2/idp/sso/host.accounts.ondemand.com?SAMLRequest=xxxxx&RelayState=XS-xxxxx&SigAlg=xxxxx&Signature=xxxxx' (redirected from 'https://<host>:<port>/sap/bc/ina/service/v2/GetServerInfo') from origin 'https://<customer/tenant_name>.<datacenter_region>.hcs.cloud.sap' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

Environment

  • SAP Analytics Cloud (Enterprise)
  • SAP HANA 2.00

Reproducing the Issue

  1. Login to SAC.
  2. Try to open a Story based on HANA-Calculation view via HANA Direct live connection with SAML SSO. => Data load in the Story will fail with error: "Unable to retrieve data from the data source."
  3. Run the Story URL in the browser with the parameter --user-data-dir=C:\temp\chrome-data-dir to make the browser to work as a fresh new browser with no addons or cache. => After this the Story will load successfully.
  4. Now refresh the Story. => Data load in the Story will fail again with error: "Unable to retrieve data from the data source."

Cause

The issue is with SAP HANA caching.

Resolution

See Also

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

Keywords

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.saphttps://hanacloudservices.cloud.saphttps://cloudanalytics.accounts.ondemand.comhttps://hanacloudservices-us.accounts.ondemand.comhttps://www.sap.comhttps://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 , KBA , HAN-DB-ENG-MDS , SAP HANA Multidimensional Services MDS / InA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

SAP Analytics Cloud 1.0