cancel
Showing results for 
Search instead for 
Did you mean: 
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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.