KNOWLEDGE BASE

Error "Uncaught SyntaxError: Failed to execute 'open' on 'Window': Unable to open a window with invalid URL 'http:'" When Running a URL Action on a Blank Value


Published: 14 Dec 2017
Last Modified Date: 14 Dec 2017

Issue

When clicking a blank value in a crosstab view that contains a URL action, the following error might occur:
 
Uncaught SyntaxError: Failed to execute 'open' on 'Window': Unable to open a window with invalid URL 'http:'. 

Environment

  • Tableau Server 10.4.0 and 10.4.1
  • URL Action

Resolution


Option 1
As a Tableau Server Administrator, upgrade Tableau Server to  version 10.4.2. For more information, see Upgrading Tableau Server in Tableau Help.

Option 2
As a workaround, ensure all values have a corresponding URL so that there is no blank value to click in your view. 

Cause

This behavior is related to a known defect (ID: 697302) that has been fixed in the recent releases of Tableau Server.
Did this article resolve the issue?