Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
12 | |
11 | |
9 | |
6 | |
6 |