KNOWLEDGE BASE

Errors: Uncaught Invalid JSON or Cannot read property 'substr' of undefined when opening published workbook


Published: 25 Sep 2017
Last Modified Date: 27 Sep 2017

Issue

When opening a workbook in Tableau Server, one of the following errors might occur:
 
Invalid JSON
or
Uncaught Invalid JSON
or
Uncaught TypeError: Cannot read property 'substr' of undefined​

Environment

  • Tableau Server 10.2.0 - 10.2.4
  • Tableau Server 10.3.0 - 10.3.2

Resolution

Option 1

Upgrade Tableau Server to 10.2.5 or 10.3.3 or newer.  For more information, see Upgrading Tableau Server.

Option 2

Load the dashboard with server-side rendering using the ?:render=false URL parameter. For more information, see About Client-Side Rendering.

Cause

This behavior is related to a known issue that has been fixed in later versions.
Did this article resolve the issue?