KNOWLEDGE BASE

Error "Cannot Read Property 'Length' of Undefined" When Loading a View


Published: 11 Apr 2019
Last Modified Date: 20 Sep 2019

Issue

When attempting to load a workbook, the following errors might occur:

Uncaught TypeError: Cannot read property 'length' of undefined
or
Unable to get property 'length' of undefined or null reference
or

Script error.

Environment

  • Tableau Online
  • Tableau Server 10.5+

Cause

This behavior was related to a known issue (ID: 897230) and it has been fixed in Tableau Server 2019.3 and later versions.
Did this article resolve the issue?