Forum Discussion
Refresh error on PowerBI
Troubleshooting Power BI Scheduled Refresh Error
Based on the error message, your scheduled refresh is failing because Power BI cannot connect to your data gateway. Here's how to diagnose and resolve this issue:
Root Cause
The error indicates that either:
1. The gateway service isn't running
2. The machine hosting the gateway is turned off
3. There are network connectivity issues preventing access to the gateway
Steps to Resolve
1. Check Gateway Status
- Go to the machine where the gateway is installed
- Open the "On-premises data gateway" application
- Verify the gateway shows as "Running"
- If not, click "Restart" or "Start" the service
2. Verify Machine Status
- Ensure the computer hosting the gateway is powered on 24/7
- Check that it's not going to sleep or hibernating during refresh times
- Verify network connectivity is stable
3. Check Power BI Service Configuration
1. Log in to Power BI Service (app.powerbi.com)
2. Go to Settings (gear icon) > Manage gateways
3. Verify your gateway appears and shows as "Online"
4. Check that the data sources are properly configured to use this gateway
4. Additional Checks
- Verify the gateway has the latest updates (check version in gateway app)
- Ensure firewall isn't blocking connections (ports 443, 5671, 5672, 9350-9354)
- Check Windows Event Viewer on the gateway machine for any related errors
Prevention Tips
- Consider setting up a gateway cluster for high availability
- Configure the gateway machine to never sleep
- Set up monitoring/alerting for gateway status