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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
mondinelli
Advocate I
Advocate I

Enterprise Gateway refresh error to on-premise SQL Server

I've correctly configured a enterprise gateway:

2016-03-25 16_50_34-Power BI.png

2016-03-25 16_51_46-Power BI.png

 

 

 

 

1 ACCEPTED SOLUTION
mondinelli
Advocate I
Advocate I

the Tech Staff told me that 400 error was about a PowerBIErrorCode: DMTS_CanNotFindMatchingDatasourceInGatewayError.

 

The enterprise gateway was not able to find all datasource, even if on the first check it was.

 

Solutions is to manually check all the datasource of the report and all the datasource on the enterprise gateway.

View solution in original post

4 REPLIES 4
12_shashank
New Member

I’ve encountered a similar issue with the same error. The solution is to grant the necessary permissions to the service principal or the user accessing the API (ReadAll or User permission), for the connections, and On-premises gateway. You can do this in Fabric or POWER BI service settings > Manage Connections and Gateways > Connections/ On-premise Gateways. 

Error Encounter - 

DMTS_CanNotFindMatchingDatasourceInGatewayError
mondinelli
Advocate I
Advocate I

the Tech Staff told me that 400 error was about a PowerBIErrorCode: DMTS_CanNotFindMatchingDatasourceInGatewayError.

 

The enterprise gateway was not able to find all datasource, even if on the first check it was.

 

Solutions is to manually check all the datasource of the report and all the datasource on the enterprise gateway.

pritesho
Helper I
Helper I

Try removing and readd.  There could be code mistype or something causing it. It has smoothly worked for me for a few times, so it could be a simple issue of refresh.

There was a problem on post saving, i've added several images but they seems to be stripped out. I'll retry here. if it's all there will be here 3 images.

 

Connection Testing FineConnection Testing FineGateway Selection okGateway Selection okError ThrowedError Throwed

 

 

I can't figure out why i get status code 400, whatever it means.

I've tried to reinstall gateways several times.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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