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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
dy
New Member

ERROR [Simba][Driver Support] (1030) Failed to decrypt data: Key not valid for use in specific

Hi, It's been a week stuck on it. having error "Failed to decrypt data: Key not valid for use in specified state". 


let me brief you about my scenario,  I'm using enterprise gateway. all data sources is working fine, in which i used data import method. but when i use Direct Query method it's giving me this error "Failed to decrypt data: Key not valid for use in specified state". Pls help me. 

Please find below error screenshot

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @dy ,

 

Try the following solution from this link.

Enable the setting to encrypt passwords for all users of the machine.

  1. Open ODBC Data Source Administrator.
  2. Find the Athena Data Source in question.
  3. Click on Configure.
  4. Click on Authentication Options.
  5. Click on Password Options.
  6. Select the "All Users of this Machine" radio button and click OK.
  7. Re-test the connection.

vstephenmsft_0-1647571017466.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
v-stephen-msft
Community Support
Community Support

Hi @dy ,

 

Try the following solution from this link.

Enable the setting to encrypt passwords for all users of the machine.

  1. Open ODBC Data Source Administrator.
  2. Find the Athena Data Source in question.
  3. Click on Configure.
  4. Click on Authentication Options.
  5. Click on Password Options.
  6. Select the "All Users of this Machine" radio button and click OK.
  7. Re-test the connection.

vstephenmsft_0-1647571017466.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you, Stephen Tao!

Hi @v-stephen-msft , can I ask what selecting "All Users of this machine" does?

@v-stephen-msft Realy greatful it works now that error has been fixed by performed suggested config however now i'm getting this error. pls have a look into this. Thanks again for your reply

dyn_0-1647595725391.png

 

Hi @dyn ,

 

Are you @dy ? Or is it just the same name?😂

The error message shows that you don't seem to have a gateway configured for your data source.

Please refer to 

Add or remove a gateway data source - Power BI | Microsoft Docs

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

@v-stephen-msft Haha it's the same. i couldn't login with my previous account that's why create a new one. 

One thing more wanna ask can we write query on power bi to get data from source if yes then how can we do this could you specify an example if i have to fetch from athena and want to write query in power bi to get data from athena 

Hi @dyn ,

 

Power BI has Power BI Desktop and Power BI Service. In Desktop, you can connect data sources and refresh data without a gateway. In Service, some specific data sources require you to configure gateways as bridges to connect data sources.

When you say athena, do you mean Amazon Athena? It needs the gateway to refresh in Power BI Service.

Power Query Amazon Athena connector - Power Query | Microsoft Docs

Using the Amazon Athena Power BI Connector - Amazon Athena

 

vstephenmsft_0-1648608951353.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

dy
New Member

dy_0-1647335758022.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.