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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Solution Authors