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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Unable to add custom data connector data source in Gateway

I have developed a custom data connector using Visual Studio + PowerQuerySdk extension to fetch a JSON data from web using a URL with API key.

 

The custom data connector is appearing in the "Get Data" of Power BI Desktop and fetching the data from web correctly and the connector is working fine. Subsequently, I have added the custom data connector to my On-Premises gateway also. Till this point everything is fine.

 

The problem started when I added it as a data source in the "Manage Gateways" at the app.powerbi.com portal. It is throwing the following error.

 

PQ.png

 

I have added a TestConnection function in my Data Source Definition while developing the custom data connector which is a prerequisite for using custom connectors with on-premise data gateway for schedule refresh.

 

Does anyone know what could be the reason behind the error and how to fix it? 

 

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 


@Anonymous wrote:

I have developed a custom data connector using Visual Studio + PowerQuerySdk extension to fetch a JSON data from web using a URL with API key.

 

The custom data connector is appearing in the "Get Data" of Power BI Desktop and fetching the data from web correctly and the connector is working fine.


As said above, your data source should be online, right?

If so, you could refer to the following:

Refreshing a Power BI Custom Connector in the Cloud

 

In addition, which custom data connector under Get Data do you select?

Which authetication do you use for Power BI Desktop and Service? and are they different or same?

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors