Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Platform Analytics List Visualization Error: "Cannot read property 'internalType' from undefined" a

tanvirathod
Tera Contributor

Hi Team,

We are experiencing an issue with a Platform Analytics List visualization after upgrading to Zurich Patch 12 W34.

Error:

"Can't display this list"

"List controller data broker transform error: Cannot read property 'internalType' from undefined"

Environment:

  • ServiceNow Zurich Patch 12 W34
  • Platform Analytics Dashboard
  • Data Source: Requested Item [sc_req_item]

What we have observed:

  • The issue started after the Zurich Patch 12 W34 upgrade.
  • The data source preview loads successfully and displays records.
  • When editing/configuring the data source, the list displays correctly.
  • The error only occurs when rendering the List visualization on the dashboard.
  • I impersonated the affected user and received the same error.
  • I also impersonated an admin user and received the same error.
  • The sc_req_item table is accessible and returns records successfully.
  • This does not appear to be an ACL, role, or data access issue because administrators experience the same behavior.
  • The issue seems to occur only in the visualization rendering layer.

Has anyone encountered this specific "Cannot read property 'internalType' from undefined" error in Platform Analytics after a Zurich upgrade or patch?

 
 
2 ACCEPTED SOLUTIONS

Erhan1
Tera Guru

So the way mine sort of got resolved was by me going into the all the reports/data visualizations that were on a specific dashboard and went to columns and rows and then reset the variables that were populated. Once I did that, most of all the users who had access to the dashboard were no longer getting the error. However the person who was having the issue initially still had the issue. 

 

I opened the ticket with SNOW and they suggested this

 

We recommend reviewing the user's records in the User Preferences (sys_user_preference) table, as corrupted or stale preference data can sometimes cause Workspace list components to fail to render correctly. Clearing the relevant Workspace-related preferences is a useful troubleshooting step to determine whether the issue is caused by user-specific settings.

I then went to the sys_user_preferenece table and cleared that users workspace settings. After I did that, I impersonated them and then they were able to see the data visualizations on the dashboard without any issues. 

 

hope that helps.

View solution in original post

SebastianB
Kilo Sage

Hi, I had the same issue. It seems to be an issue with the "Workflow" field, at least for KB Article it was. When you hide this column from the list view, the visualization load as expected. 

View solution in original post

5 REPLIES 5

Erhan1
Tera Guru

We are having this exact same issue. I was able to sort of get around it by going into the DV and then going to columns and rows and just clicking apply, and it does seem to "reload" what was there. However when I checked to see if it was fixed for the user that brought the issue up, the same thing was happening again. 

MdFarhanA
Tera Contributor

Hello @tanvirathod

 

I am experiencing the same issue in my instance as well. Were you able to resolve it? If so, could you please share the solution or the steps you followed to fix it?
 
Regards,
Farhan

 

Erhan1
Tera Guru

So the way mine sort of got resolved was by me going into the all the reports/data visualizations that were on a specific dashboard and went to columns and rows and then reset the variables that were populated. Once I did that, most of all the users who had access to the dashboard were no longer getting the error. However the person who was having the issue initially still had the issue. 

 

I opened the ticket with SNOW and they suggested this

 

We recommend reviewing the user's records in the User Preferences (sys_user_preference) table, as corrupted or stale preference data can sometimes cause Workspace list components to fail to render correctly. Clearing the relevant Workspace-related preferences is a useful troubleshooting step to determine whether the issue is caused by user-specific settings.

I then went to the sys_user_preferenece table and cleared that users workspace settings. After I did that, I impersonated them and then they were able to see the data visualizations on the dashboard without any issues. 

 

hope that helps.

tanvirathod
Tera Contributor
Thank you for the suggestion.
 
In my case, the issue is reproducible even when impersonating an admin user, and the datasource preview loads successfully. The error only occurs when the Platform Analytics list visualization renders.
 
I checked the affected user's sys_user_preference records and found a few workspace.list.sc_req_item preferences related to column widths and group by settings.