KNOWLEDGE BASE

Error: "com.tableausoftware.jdbc.TableauJDBCException..." When Connecting with Amazon Athena


Published: 25 Jul 2017
Last Modified Date: 15 Jan 2020

Issue

After connecting Tableau Desktop to Amazon Athena, the following error message might occur appears: 

com.tableausoftware.jdbc.TableauJDBCException:
There was a Java error
Unable to connect to the server “athena.[region].amazonaws.com”. Check that the server is running and that you have access privileges to the requested database.

Environment

  • Tableau Desktop
  • Amazon Athena

Resolution

Option 1

Work with your IT team to confirm that the AWS Identity and Access Management (IAM) Console is set to the most up-to-date policy..

Option 2

A similar error will also occur when not using the correct version of Java with their driver on Mac OSX. Newest Java version can be downloaded here: Java SE Runtime Environment Downloads

Cause

The required permission (that runs the query) might not be granted.
Did this article resolve the issue?