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
LeticiaVianna
New Member

Problem connection with database mysql and sql server

I have the problem with the authentication credentions data source. The error that the BI said is that the entry isn't the base 64 enable, but when I connect in my power bi desktop the connection is working and the gateway is ok too.

This problem occurs both with connections to mysql and sql server.

 

"Failed to update data source credentials: The input is not a valid Base 64 string because it contains a non-base 64 character, more than two placeholder characters, or an illegal character between the placeholder characters."

1 REPLY 1
Anonymous
Not applicable

Hi  @LeticiaVianna ,

 

From the error message , you should check if the length of base64string is a multiple of 4 and the base64string is valid .

A Base64 string will only be composed of characters 'A'..'Z', 'a'..'z', '0'..'9', '+', '/' and it is often padded at the end with up to two '=', to make the length a multiple of 4.

 

This is the related document, you can view this content:

Error while using PBI API to create data resources... - Microsoft Fabric Community

Power BI Service refresh issue due to credential a... - Microsoft Fabric Community

 

Best Regards,

Liu Yang

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

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.