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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
josem
New Member

Service cannot reach gateway Status code: BadRequest

I installed on-site data gateway successfully and after installing, I logged in to register gateway but I got the message:   The service cannot reach the gateway. I can confirm that I can access internet from this server (via proxy server) and all ports are open.

 

Full error message below:

 

The service cannot reach the gateway.
Request error: Id: 'ddfbb5c2-985c-4638-9bc6-a6dbf6a52e51', Status code: 'BadRequest', Timestamp: '08/10/2016 06:32:28 +00:00', ErrorCode: 'DM_GWPipeline_UnknownError', Detail: ''
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<EnsureSuccessfulDMMSRequest>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<DiscoverUnifiedGatewayStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.ConfiguratorClientExtensions.<DiscoverUnifiedGatewayStatusAsyncRetry>d__a.MoveNext()

2 REPLIES 2
josem
New Member

I have successfully installed On-premises data gateway but after installation, I logged in to register Gateway and during configuration, I got the message: The service cannot reach the gateway."   Complete error message is below:

 

The service cannot reach the gateway.
Request error: Id: 'ddfbb5c2-985c-4638-9bc6-a6dbf6a52e51', Status code: 'BadRequest', Timestamp: '08/10/2016 06:32:28 +00:00', ErrorCode: 'DM_GWPipeline_UnknownError', Detail: ''
   at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<EnsureSuccessfulDMMSRequest>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<DiscoverUnifiedGatewayStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.ConfiguratorClientExtensions.<DiscoverUnifiedGatewayStatusAsyncRetry>d__a.MoveNext()

@josem

 

According to the official documentation Troubleshooting the On-Premises Data Gateway:


Error: Power BI service reported local gateway as unreachable. Please restart the gateway and try again.

At the end of configuration, the Power BI service will be called again to validate the gateway. The Power BI service does not report the gateway as live. Restarting the windows service may allow the communication to be successful. You can collect, and review, the logs as mentioned above to get more details.


So please update the gateway into latest version, restart the gateway and try again. Following is how we can restart the gateway from the command prompt:

  1. On the machine where the enterprise gateway is running, launch an admin command prompt.
  2. Use the following command to stop the service.
    net stop PBIEgwService
  3. Use the following command to start the service.
    net start PBIEgwService

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Kudoed Authors