Forum Discussion

lariane's avatar
lariane
New Member
8 months ago
Solved

Power BI Error: DM_GWPipeline_Gateway_SpooledOperationMissing – Gateway Data Operation Issue

Hello,

I’m facing an issue in Power BI when trying to access data through my gateway. I receive the following error message:

Error Message:
DM_GWPipeline_Gateway_SpooledOperationMissing

Details:

  • Cluster URI: WABI-BRAZIL-SOUTH-B-PRIMARY-redirect.analysis.windows.net

  • Activity ID: e73a25f6-8117-479e-ab73-20295978c63e

  • Request ID: ece5a590-f664-6b2c-570d-2e1c52cc4ab7

  • Time: 2025-12-29 11:27:18Z

Context:

  • Power BI Gateway version: [Add your gateway version if known]

  • Data Source: [Describe the source, e.g., SQL Server, Excel, etc.]

  • Data refresh operation: [Manual or scheduled refresh?]

  • Any recent changes made in the setup: [If relevant]

Could someone guide me on how to resolve this error or any troubleshooting steps to follow?

Thank you in advance for your help!

  • Hi lariane ,

    Welcome to the Power BI Community.

    This is a somewhat rare but specific error. The DM_GWPipeline_Gateway_SpooledOperationMissing error essentially means that the Power BI Service tried to retrieve a result set that the Gateway had supposedly prepared (spooled), but the Gateway could not find it.

    This usually happens for one of three reasons:

    1. The Gateway Service Restarted: If the On-Premises Data Gateway service crashed or restarted during the query execution, the temporary "spool" files are lost.

    2. Disk Space Issue: The Gateway machine ran out of disk space while trying to buffer (spool) a large dataset.

    3. Aggressive Cleanup: An antivirus or system process deleted the temporary files in the Gateway's spool directory.

    Here are the troubleshooting steps to resolve this:

    1. Restart the Gateway Service This is the most effective immediate fix.

    • Log in to the machine running the Gateway.

    • Open the On-premises data gateway app.

    • Go to Service Settings and click Restart now.

    • Alternatively: Open Windows Services (services.msc), find "On-premises data gateway service," and restart it.

    2. Check Disk Space If you are pulling a large amount of data, the Gateway needs significant space to "spool" that data before sending it to the cloud.

    • Check the drive where the Gateway is installed (usually C:\).

    • Ensure there is ample free space (at least 2-3 times the size of the dataset you are refreshing).

    3. Update the Gateway Since today is December 29, 2025, ensure you are running the latest version (likely the December 2025 or November 2025 release). Older versions may have memory management bugs that cause the service to crash and lose the spooled operation.

    4. Check for "Double Hop" or Network Latency If this error persists, it might be due to a network timeout between the Gateway and the Data Source, causing the spooling session to expire.

    • Try reducing the amount of data (filter by date) to see if a smaller dataset succeeds.

    Start with a simple service restart; that solves this issue 90% of the time.


    If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
    This response was assisted by AI for translation and formatting purposes.

  • During refresh, the gateway temporarily stores (“spools”) data on the gateway machine. If that spooled data can’t be found (because the gateway restarted/crashed, disk/temp was cleaned, AV deleted it, or the gateway install is unstable), the Service throws DM_GWPipeline_Gateway_SpooledOperationMissing.

     

    1. Update the on-premises data gateway to the latest version
      This error has been associated with specific gateway builds and fixes in later releases. 

    2. Restart the gateway service (On-premises data gateway service)
      If it’s intermittent, this often clears it.

    3. Check disk space + temp cleanup on the gateway server

      • Ensure the gateway machine has free disk space

      • Make sure no scheduled cleanup/AV is deleting gateway temp/spool files mid-refresh

    4. Check for duplicated/cloned gateway machines
      If the gateway host VM was cloned and both instances run with the “same” identity/config, the service can get confused and throw spooling errors; uninstall/disable the duplicate gateway.

    5. If it only happens for one dataset
      The gateway error can sometimes mask the real underlying query/data issue (e.g., refresh cancellation due to a data problem). Try refreshing smaller subsets / check gateway logs for the real root error.

5 Replies

  • Hi lariane ,

    Welcome to the Power BI Community.

    This is a somewhat rare but specific error. The DM_GWPipeline_Gateway_SpooledOperationMissing error essentially means that the Power BI Service tried to retrieve a result set that the Gateway had supposedly prepared (spooled), but the Gateway could not find it.

    This usually happens for one of three reasons:

    1. The Gateway Service Restarted: If the On-Premises Data Gateway service crashed or restarted during the query execution, the temporary "spool" files are lost.

    2. Disk Space Issue: The Gateway machine ran out of disk space while trying to buffer (spool) a large dataset.

    3. Aggressive Cleanup: An antivirus or system process deleted the temporary files in the Gateway's spool directory.

    Here are the troubleshooting steps to resolve this:

    1. Restart the Gateway Service This is the most effective immediate fix.

    • Log in to the machine running the Gateway.

    • Open the On-premises data gateway app.

    • Go to Service Settings and click Restart now.

    • Alternatively: Open Windows Services (services.msc), find "On-premises data gateway service," and restart it.

    2. Check Disk Space If you are pulling a large amount of data, the Gateway needs significant space to "spool" that data before sending it to the cloud.

    • Check the drive where the Gateway is installed (usually C:\).

    • Ensure there is ample free space (at least 2-3 times the size of the dataset you are refreshing).

    3. Update the Gateway Since today is December 29, 2025, ensure you are running the latest version (likely the December 2025 or November 2025 release). Older versions may have memory management bugs that cause the service to crash and lose the spooled operation.

    4. Check for "Double Hop" or Network Latency If this error persists, it might be due to a network timeout between the Gateway and the Data Source, causing the spooling session to expire.

    • Try reducing the amount of data (filter by date) to see if a smaller dataset succeeds.

    Start with a simple service restart; that solves this issue 90% of the time.


    If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
    This response was assisted by AI for translation and formatting purposes.

  • During refresh, the gateway temporarily stores (“spools”) data on the gateway machine. If that spooled data can’t be found (because the gateway restarted/crashed, disk/temp was cleaned, AV deleted it, or the gateway install is unstable), the Service throws DM_GWPipeline_Gateway_SpooledOperationMissing.

     

    1. Update the on-premises data gateway to the latest version
      This error has been associated with specific gateway builds and fixes in later releases. 

    2. Restart the gateway service (On-premises data gateway service)
      If it’s intermittent, this often clears it.

    3. Check disk space + temp cleanup on the gateway server

      • Ensure the gateway machine has free disk space

      • Make sure no scheduled cleanup/AV is deleting gateway temp/spool files mid-refresh

    4. Check for duplicated/cloned gateway machines
      If the gateway host VM was cloned and both instances run with the “same” identity/config, the service can get confused and throw spooling errors; uninstall/disable the duplicate gateway.

    5. If it only happens for one dataset
      The gateway error can sometimes mask the real underlying query/data issue (e.g., refresh cancellation due to a data problem). Try refreshing smaller subsets / check gateway logs for the real root error.

  • Hi lariane ,

    I hope you are doing well today 🙂❤️

     

    The error DM_GWPipeline_Gateway_SpooledOperationMissing typically indicates a gateway communication or processing issue, where Power BI Service cannot properly locate or complete a data operation handled by the on-premises data gateway.

    Below are the recommended troubleshooting steps to resolve this issue:

    Possible Causes

    • Gateway service interruption or instability

    • Outdated or corrupted gateway installation

    • Network/firewall blocking gateway communication

    • Dataset refresh timeout or heavy query load

    • Temporary Power BI service-side issue (regional cluster)

    Troubleshooting & Resolution Steps

    1) Restart the Gateway Service

    • Open Services on the gateway machine

    • Restart On-premises data gateway service

    • Retry the dataset refresh

    This resolves most transient spooling or pipeline-related issues.

     

    2) Update Gateway to the Latest Version

    • Download the latest gateway from Microsoft

    • Install it over the existing version (no need to uninstall)

    • Ensure the gateway status shows Online in Power BI Service

    Version mismatches often cause pipeline and spooled operation errors.

     

    3) Check Network & Firewall Settings

    Ensure outbound connectivity is allowed for:

    • *.analysis.windows.net

    • *.servicebus.windows.net

    • Port 443 (HTTPS)

    Also verify that:

    • Proxy settings (if used) are correctly configured

    • No recent firewall or antivirus updates are blocking traffic

     

    4) Validate Data Source Credentials

    • Go to Power BI Service → Dataset → Data source credentials

    • Re-enter and test credentials

    • Ensure the dataset is mapped to the correct gateway and data source

     

    5) Reduce Refresh Load

    If the dataset is large:

    • Enable Incremental Refresh

    • Optimize queries (avoid unnecessary columns/transformations)

    • Increase refresh timeout if using SQL or complex queries

     

    6) Check Power BI Service Health

    Since this error can be cluster-related:

    • Visit Power BI Support → Service Status

    • Check for issues in the Brazil South region

    Temporary backend issues may resolve automatically.

     

    When to Contact Microsoft Support

    If the issue persists:

    • Collect Activity ID, Request ID, Cluster URI, and Timestamp

    • Raise a support ticket from Power BI Service

    These details help Microsoft trace the backend gateway operation failure.

    Summary:

    This error is usually caused by gateway service instability or connectivity issues. Restarting and updating the gateway resolves the problem in most cases. Ensuring proper network access and optimized refresh logic helps prevent recurrence.

    ______________________________________________________________________________________

    If this answer helped, kindly give Kudos and mark it as the Accepted Solution
    to help other members find it more quickly.

     

    Best regards,
    Vaibhav Mahajan
    LinkedIn: https://www.linkedin.com/in/vaibhavnmahajan

    ______________________________________________________________________________________

  • v-echaithra's avatar
    v-echaithra
    Icon for Community Support rankCommunity Support

    Hi lariane ,

    I just wanted to check if the issue has been resolved on your end, or if you require any further assistance. Please feel free to let us know, we’re happy to help!


    Thank you 
    Chaithra E.

  • v-echaithra's avatar
    v-echaithra
    Icon for Community Support rankCommunity Support

    Hi lariane ,

    May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.

    Thank you.