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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.