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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors