Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I get the following error message key key length:40.
I haven't changed anything about the connection
@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.
Proud to be a PBI Community Champion
I use an ODBC connection with SQL codes as a data source. Until yesterday, they worked without any problems.
@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 ?
Proud to be a PBI Community Champion
The error message says :
Unexpected error The specified key is not valid size for this algorithm.
Proud to be a PBI Community Champion
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |