KNOWLEDGE BASE

Error "Uncaught SyntaxError: Unexpected identifier" When Viewing Workbook in Chrome


Published: 11 Aug 2015
Last Modified Date: 14 Dec 2015

Issue

When viewing a workbook in Google Chrome on Tableau Server, one of the following errors might occur:
 
Uncaught SyntaxError: Unexpected identifier Uncaught TypeError: Cannot read property 'startup' of undefined
 
Or:
 
Unexpected error
An unexpected error occurred. If you continue to receive this error please contact your Tableau Server Administrator.
Uncaught SyntaxError: Unexpected identifier
Uncaught Error: Attempted to use CommandController before creating it.

 

Environment

  • Tableau Server 9.0 and older
  • Google Chrome 45

Resolution

Option 1

Upgrade to the latest version of Google Chrome.

Option 2

Upgrade to Tableau Server 9.1 or later version. For more information, see Upgrading Tableau Server.

Cause

This behavior is related to a known issue in earlier versions of Chrome where JavaScript files downloaded by Tableau Server to display views were not working correctly.
Did this article resolve the issue?