The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello!
I have a custom connector that can't get past the data source credentials on PowerBI Web version in order for me to schedule a data refresh, even though it works fine on the Desktop version. I narrowed the problem down to the "TestConnection" part of the connector code, but I cannot figure out what to do from here to fix the error. This connector was written in 2018 so I'm hoping someone knows what I can do to update the code to work.
Here is the line of code:
Error message:
Error message when I try and sign in after selecting Edit credentials:
According to Microsoft's website, the problem lies in my test connection but I cannot seem to find how to fix that. Ideally I would love to write the code to skip the test connection but I don't know what to use for that. Additionally, when I try and fix it from the data gateway, it says I cannot skip the connection and it doesn't show any option to select when I try and select an authentication method:
I appreciate anyone's help with this!
Hi @ariam ,
Have you tried to republish the .pbix which works fine in Desktop to Power BI Service and then configure the gateway again?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have yes but it doesn't seem to work still. I think the problem is specifically with the testconnection line of code and I read somewhere that the test connections may not like API's being used, but I am hoping there is a way to bypass it or to re-write the code to only look at the website and not the API.