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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
prinmode
New Member

typescript error when saving authentication credentials to connect to the database

Hi everyone.

 

On https://app.powerbi.com/ -> Settings -> Manage connections and gateways -> Connections tab.

I'm experiencing an issue when saving the authentication credentials for my database connection in this interface. There is already an existing connection due to a report publication made from Power BI Desktop. The connection is of MySQL type (data refresh works perfectly fine in Power BI Desktop). When attempting to save the authentication data, nothing happens, but the following error appears in the console:

 

prinmode_0-1687915633423.png

credentialEncryption.ts:17 Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at e.<anonymous> (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:1827594)
at c (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:650078)
at Generator.<anonymous> (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:651434)
at Generator.next (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:650441)
at LS (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:656088)
at i (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:656292)
at https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:656353
at new Promise (<anonymous>)
at e.<anonymous> (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:656232)
at e.<anonymous> (https://gatewayadminportal.azure.com/static/js/bundle.js?v=CVaLKxoBOXIgwHd6eO8p-t4eh-Wq_wvSZY6l8ZL1Mlc:2:1827927)

 

credentialEncryption.ts:17

prinmode_1-1687915835734.png

 

The interface:

prinmode_2-1687916011419.png

 

is this really a platform bug? maybe mysql/mariadb is not supported? I am doing something wrong?

 

6 REPLIES 6
Anonymous
Not applicable

Just hit the same challenge. Under source settings and Authentication. I am not able to update and save credentials for my 'MySQL' server. This means I can not enable auto-refresh. I need the auto-refresh function to work. Seems to me it is a bug. Micosoft this needs to be fixed ASAP.

prognolite
New Member

same problem here.. pls microsoft resolve this..

icemanmd
New Member

This is still occuring for us. This will cause a lot of pain if not resolved because if you cannot update the credentials, you cannot enable auto-refresh. We have our own development staff. I showed this to our developers and the request is never hitting the Microsoft API. The DOMException error is on the browser side so it never makes it to the API. There is nothing we can do to fix it, only Microsoft can.

 

You can create a new connection successfully. The error is only on the PATCH call, the update. However, in Power BI, I can't figure out how to point a dataset to a different connection.

 

Microsoft please help! I'm going to escalate through my Managed Service Provider who can hopefully get this resolved for all of us.

sxr
New Member

I've got the exact same bug, please let me know if someone got a fix. It's causing me to not being able to sync with my Azure SQL database.

prinmode
New Member

no, I have not received any news yet and the bug persist

Beerens
New Member

We're having exactly the same bug on our end. Did you get any update on any platform concerning this issue?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.