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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors