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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
LON
Helper I
Helper I

Custom Data Connectors on Power BI Service

Hi 

 

I am using the example custom data connector "Hello World"  to test refresh using the On-Premises gateway in Personal Mode as recommended. 

 

I have downloaded and started the gateway but getting the following errors - hope somebody can help please?

 

Thanks

 

Liam

helloworld1.pnghelloworld2.pngConnector.PNG

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@LON,

Have you implemented a “TestConnection” section in your custom connector’s code. 

Regards,
Lydia

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@LON,

Have you implemented a “TestConnection” section in your custom connector’s code. 

Regards,
Lydia

Thanks very much Lydia - I aded the Test Connection statement and it worked!

 

Best REgards

 

Liam

Anonymous
Not applicable

Hi @Anonymous 

 

We are having same issue as above and not sure if the below line code is required to add in the custom connector through Visual studio. customer connector is created for web api using basic login type.
 
TestConnection = (dataSourcePath) => { "Nameofyourcustomconnectorproject.Contents" },
 
Thanks

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors