Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JohnCYY238
Regular Visitor

DataSource.Error: ODBC: ERROR [HY000] [Simba][Athena] (1040) An error has been thrown from the AWS

Hi all,

 

I am using the Power BI AWS Athena Connector with Simba Athena ODBC driver to import data in Power BI Desktop. 

 

At this stage, I have connected to the data source with the following message:

 

SUCCESS!

Successfully connected to data source!

ODBC Version: 03.80

Driver Version: 1.1.20.1003

Bitness: 64-bit

Locale: en_AU

 

However, when I viewed one of the tables within AwsDataCatalog, I get an following error message:

 

DataSource.Error: ODBC: ERROR [HY000] [Simba][Athena] (1040) An error has been thrown from the AWS Athena client. Error Message: HIVE_UNSUPPORTED_FORMAT: Unable to create input format

 

Then when I clicked on another file ending with ‘_csv’, I can see the list of data field names but with no data.

 

Our IT consultant is trying to work out whether it is permissions within the policy configuration that is needed, or is it on my side that some configuration is required.

 

Appreciate for any assistance.

2 REPLIES 2
Divyesh_Khunt
New Member

Divyesh_Khunt_0-1723624706610.png

You will need to add this policy in your athena for the access key that you have received while logging in the ODBC ...... replace the arn with your arn

below is the code you can copy

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"athena:StartQueryExecution",
"athena:GetQueryExecution",
"athena:GetQueryResults"
],
"Resource": "*"
}
]
}

Anonymous
Not applicable

Hi @JohnCYY238,

According to the error message, this issue seems more related to athena, you can try following options if helps:

1. The credentials are vailed and have permissions to access Athena.

2. The query syntax is correct.

3. The query is too complex and can be executed within the timeout limit.

4. Check the network connection status if it is stable enough and not dropping packets.

5. Check if the query if it hit any resource , concurrency, data size, query execution limits.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.