SAP Knowledge Base Article - Public

3430443 - "Error while loading data sources: An unknown error has occurred. Try the operation again or refresh the browser." in SAP Analytics Cloud (SAC)

Symptom

  • Not able to load Data Management workspace in the model in SAC.
  • Specific model affected.
  • Error while loading data sources: An unknown error has occurred. Try the operation again or refresh the browser. If you continue to see this error, please contact your Administrator.
  • Browser console log error: GET https://[sac tenant]/fpa/services/rest/fpa/asyncAcquisition?request=%7B%22action%22%3A%22getDatasourcesMappings; net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)

Environment

  • SAP Analytics Cloud (Enterprise)

Reproducing the Issue

    1. Login to SAC.
    2. Open existing model.
    3. Try to switch to Data Management workspace: it will be greyed out and return error message:
      • Error while loading data sources: An unknown error has occurred. Try the operation again or refresh the browser. If you continue to see this error, please contact your Administrator.
          
    4. Observe that the datasource takes a long time to load and occasionally gives the "datasource_failed_to_load" error.

    Cause

    • The failing model has a lot of data import jobs.
    • On the Data Management screen, it shows that there are more than 300 entries.
    • The amount of import jobs associated with the model would contribute to the total time needed to retrieve and download the content.
    • Most of the job entries were from local file upload in this case.

    Resolution

    • Cleaning up the historical file upload job entries.
      • Deleting the data import job entry from the Data Management page will not affect existing data inside the model. With that said, the import history associated with that job (when it was run and how many rows imported) will be removed together with the job.
      • For jobs with recurring schedule, it makes sense to keep them. For other job that has no recurring schedule, perhaps it is not needed immediate or not needed anymore, so it can be cleaned up first and create later on only when needed.
        
    • If local file is to be used moving forward, a regular clean up of old job entries by the user should be done. Note: Currently there is no automatic clean up process for such job entries.
    • It is also recommended to explore using file server instead moving forward with local files, that we avoid proliferation of job entries as well as simplify the manual step. 

    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 epm, business intelligence , KBA , LOD-ANA-ML , SAC Modelling , LOD-ANA-ML-DE , SAC Data Wrangling , Problem

    Product

    SAP Analytics Cloud 1.0