KNOWLEDGE BASE

Error "LogicException: Internal Error [...]" When Adding a Published Data Source to a Workbook in Web Authoring mode


Published: 25 Mar 2019
Last Modified Date: 10 Oct 2019

Issue

In Tableau Server 2018.3 and later versions, attempting to add a published data source that needs to prompt for authentication to an existing workbook causes an internal logic error within Tableau Server. The Unexpected Server Error text is as follows:

"LogicException: Internal Error - An unexpected error occurred and the operation could not be completed."

Note: this only affects data sources that need to prompt for authentication; this will not occur for adding a data source with embedded credentials or pre-existing authentication.
 

Environment

  • Tableau Server 2018.3 and later versions
  • Webedit UI

Resolution

Option 1

Upgrade to Tableau Server 2018.3.6 or a newer version. See Tableau Server Downloads and Release Notes for downloads of current and previous versions of Tableau Server. For more information on current releases, see Upgrade Tableau Server and Server Upgrade.

Option 2

A limited use workaround can be achieved when generating a new workbook by going to the target data source in the "Data Sources" listing in Tableau Server and initiating a "New Workbook" from there. This will properly prompt credentials for the first data source and web editing/authoring can proceed; this will not function for adding additional data sources that prompt for credentials.

Cause

There was an issue with the order in which the prompt credential dialog box opened. Such behavior was related to issue ID: 863635 which has been fixed in Tableau Server 2018.3.6.
Did this article resolve the issue?