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
Anonymous
Not applicable

Error key key lenght: 40

I get the following error message key key length:40. 

I haven't changed anything about the connection

5 REPLIES 5
PattemManohar
Community Champion
Community Champion

@Anonymous  Could you please provide bit more details about your issue. When you are getting that error, screenshot or steps that you followed...... any more detailed information will be helpful to understand better.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

I use an ODBC connection with SQL codes as a data source. Until yesterday, they worked without any problems.

SharedScreenshot.jpg

@Anonymous  I need to admit that I can't understand the language used in the screenshot, apart from the last line of the message. "ParameterName : Key Key length:40"

 

Is there any parameters defined or parameterised connections in your pbix file ?





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

The error message says :

Unexpected error The specified key is not valid size for this algorithm.

 

@PattemManohar 

Did you tried editing the data source (Under Edit Queries - > Data Source Settings) and provide the connection string details again...




Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.