SAP Knowledge Base Article - Public

3267337 - "[Application Error]:Cannot read properties of undefined (reading 'id')" when adding linked models to a chart in SAP Analytics Cloud (SAC)

Symptom

When trying to add linked models to a chart in SAP Analytics Cloud (SAC), the model won't be added, instead the HAR file will contain the following error message:

  1. "message: "[Application Error]:Cannot read properties of undefined (reading 'id')"
  2. needCount: true
  3. oEx: {code: "GENERIC_ERROR",…}
  4. stack: "TypeError: [Application Error]:Cannot read properties of undefined (reading 'id')\n at"

Environment

SAP Analytics Cloud (Enterprise) 2022.15.20

Reproducing the Issue

  1. Select the desired chart and click "Add Linked Models".
  2. From the list, click on the model that should be added to the chart.
  3. Observe that even though the model can be selected, it won't be actually added to the chart.
  4. Notice the error generated in the network traces.
  5. After the selection is done, closing and reopening the model selection window will unselect the previous selection.
  6. If there is one, delete a model that is already added successfully to the chart.
  7. Now try to add this same model back to the chart.
  8. Observe that it is not possible and the same behavior and error can be seen as above.

Resolution

A fix will be released in 2023 QRC 1.

See Also

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

Keywords

Cannot read properties of undefined. reading id, application error, can't add linked models, blend data, data blending, SAC, SAP Analytics Cloud , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud 1.0