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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
v-yangliu-msft
Community Support
Community Support

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors