This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello everyone,
I built a custom connector for my API. My API is built using OData and is secured with OAuth 2.0. When I run my connector and enter an Access Token (or any value for that matter) I get this JavaScript error. Has anyone else encountered this? Or know a good fix for it? I tried using the connector in Power BI. The same thing happens. The connector was built using Visual Studio 2019. I tried using Power Query for VS Code, but I ran into so many bugs I just could not get it to work.
Output / Error:
Connector Code:
Solved! Go to Solution.
If anyone is running into issues with the custom connector I found a work around. You do not need to make a custom connector.
In transform data select blank query as the data source and open the advanced editor. Need to add method to refresh token dynamically but this is a good starting point.
If anyone is running into issues with the custom connector I found a work around. You do not need to make a custom connector.
In transform data select blank query as the data source and open the advanced editor. Need to add method to refresh token dynamically but this is a good starting point.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |