KNOWLEDGE BASE

Error "Bad Connection: Tableau could not connect to the data source" Connecting to Amazon Athena


Published: 14 Aug 2018
Last Modified Date: 12 Oct 2018

Issue

When connecting to Amazon Athena, the following error occurs:

      Bad Connection: Tableau could not connect to the data source
              No Details Available

Additionally, an error similar to the following can be found in the logs:

      2018-08-09T17:34:10.546: 12460-2328 COMPUTE-TASK-ERROR 
      stack : disabled 
      task-name : class ExternalProtocol::ConnectTask 
      msg : Found Java version 1.7, needed at least 1.8. 

Environment

  • Tableau Desktop
  • Windows 10
  • Amazon Athena

Resolution

Uninstall Java 1.7 and install Java 1.8.

Cause

The Amazon Athena drivers need Java 1.8.

Additional Information

This error can also occur if both Java 1.7 and 1.8 are installed on the same computer.
Did this article resolve the issue?