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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Maikeru
Helper II
Helper II

Error: Encountered user gateway exception when refreshing Dataflows

Hi 

 

I created 1 dataflow containing 1 entity copying the query from Power Desktop. When refreshing the dataflow I get the following message. The query refreshes properly on PowerBI desktop.

 

Error: Encountered user gateway exception: 'GatewayPipelineErrorCode=DM_GWPipeline_Gateway_SpooledOperationMissing  ErrorShortName=GatewayClientErrorResponseException[GatewayId=2650167]/UnknownSpooledOperationIdException  ExceptionErrorShortName=GatewayClientErrorResponseException[GatewayId=2650167]'.. RootActivityId = 44e25ce5-2e5a-443c-9710-c3ad76a0aca0.Param1 = GatewayPipelineErrorCode=DM_GWPipeline_Gateway_SpooledOperationMissing  ErrorShortName=GatewayClientErrorResponseException[GatewayId=2650167]/UnknownSpooledOperationIdException  ExceptionErrorShortName=GatewayClientErrorResponseException[GatewayId=2650167] Request ID: bc061847-09be-ca3c-2744-678d174b934a.

 

Best regards

 

Michael

2 ACCEPTED SOLUTIONS
v-alq-msft
Community Support
Community Support

Hi, @Maikeru 

 

I have some questions:

1. What data sources are you using? On-premise or cloud data sources?

2. Are you an admin of the gateway you want to use? 

3. Do you have access to use the gateway?

 

I have tested with SQL Server on my side. It works properly. I am the admin of SQL Server and the gateway. Both of them are installed on-premises. To create a dataflow using a gateway, the user must be the Enterprise Gateway’s administrator, or the administrator must have shared the datasource they are planning to use with the user.

 

For further information, you may refer the document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

Maikeru
Helper II
Helper II

Thank you, Allan @v-alq-msft.

Yes I am admin of the gateway. After the first attempt, I relaunched the refresh and it work that time.

I suspect that during the first attempt there might have been some internal maintenance operation running on the database.

 

Best regards

 

Michael

View solution in original post

2 REPLIES 2
Maikeru
Helper II
Helper II

Thank you, Allan @v-alq-msft.

Yes I am admin of the gateway. After the first attempt, I relaunched the refresh and it work that time.

I suspect that during the first attempt there might have been some internal maintenance operation running on the database.

 

Best regards

 

Michael

v-alq-msft
Community Support
Community Support

Hi, @Maikeru 

 

I have some questions:

1. What data sources are you using? On-premise or cloud data sources?

2. Are you an admin of the gateway you want to use? 

3. Do you have access to use the gateway?

 

I have tested with SQL Server on my side. It works properly. I am the admin of SQL Server and the gateway. Both of them are installed on-premises. To create a dataflow using a gateway, the user must be the Enterprise Gateway’s administrator, or the administrator must have shared the datasource they are planning to use with the user.

 

For further information, you may refer the document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.