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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Unable to click on "Save" buttons to update Gateway Connection Credentials on PowerBI Server Website

Hello!

 

I am trying to set the credentials of a gateway MySQL connection using the website, at my workspace section. When I click "Save", nothing happens. I tried to update it on multiple devices, networks, browsers (chrome and edge). I cleared the cache, cookies, etc. I tried changing the user, password to simple characters, etc...

 

But whenever i click on save, if I check the browser's log I get the following error:

Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

 

This is the screenshot:

Error.PNG

 

Can somebody help me. It seems to be a server side issue.

 

Thanks.

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @joaomegatelecom ,

 

I can't reproduce the problem, has some time passed since you posted and does the problem still exist?
Could you please follow these steps to troubleshoot and see if they help?

The error typically occurs when the input string to is not correctly base64-encodedFailed to execute 'atob' on 'Window': The string to be decoded is not correctly encodedatob. This could be due to a variety of reasons, such as incorrect padding or non-base64 characters in the input string.

Here are a few things you could try:

Check the input string: Ensure that the string you’re trying to decode is correctly base64-encoded. It should only contain valid base64 characters and should be properly padded.
Use window.atob instead of atob: If you’re writing DOM code, using can help avoid conflicts with Node’s functionwindow.atob()atob.

 

Best regards.
Community Support Team_Caitlyn

joaomegatelecom
Regular Visitor

Hi again.

 

Yes, the problem is still happening. Today I tried setting the credentials using my iphone, but again, the "Save" button does not work. It is clearly an error on the server/website side, maybe some javascript error in the power bi website.

 

As you can see in the screenshot, I'm no writting DOM code, I am simply using the website's menu with a mouse, like a normal user. 

 

It is not a string encoding problem on my side, because i already tried typing simple stuff like "123abc" in all fields, to see if the error stops or changes, but I still get the same result.

 

Is there any other way to set the credentials for my MySQL gateway connection?

joaomegatelecom
Regular Visitor

Here is a gif to better visualize the problem:

 

errorpbisite.gif

Anonymous
Not applicable

Hi @joaomegatelecom ,

 

Thank you for the information we will do further investigation and I will feed back here with any progress.

 

Best regards.
Community Support Team_ Caitlyn

 

nhammouda
New Member

Hello Everyone,

   Did anyone resolve this issue please? as i am having the same issue and i dont know what to do about it...

 

Regards,

Nihal.

joaomegatelecom
Regular Visitor

After all these days I'm still having the same issue.

nhammouda
New Member

I removed the both the User DSN from ODBC, and from the Power BI Gateway Connections, then added a System DSN, and used it, based on the solutions in this thread: https://community.fabric.microsoft.com/t5/Power-Query/Personal-Gateway-X-On-Premises-Gateway/m-p/709...

MichaelX
New Member

Hi @Anonymous 

I am having same issue -- unable click the "save" button after input credentials. 

Any updates on this?  Thanks.

Michael

ashmongo
Regular Visitor

I am having the same issue, it would be good to see an update

sotosp
New Member

Same issue here