cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
desteban
Frequent Visitor

502 bad gateway error

I have the subjecto error form this morning, we restarted the gateway without result, using the action SQL I obtein the next error: 

 

{
  "error": {
    "code"502,
    "source""europe-001.azure-apim.net",
    "clientRequestId""0797849d-6606-4f1a-bd08-b39bd3265759",
    "message""BadGateway",
    "innerError": {
      "status"502,
      "message""Unexpected Exception : System.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass9_0`1.<<GetNextResponse>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass13_0.<<ExecuteBlockOperation>b__0>d.MoveNext()\r\n     inner exception: A task was canceled.\r\nclientRequestId: 0797849d-6606-4f1a-bd08-b39bd3265759",
      "source""sqlconnectionprovider-westeurope.am2-ase-001.p.azurewebsites.net"
    }
  }
}

 

Any have any idea? 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @desteban,

 

Does your problem still exists?

Could you please share a screenshot of the configuration of your flow?

Does your flow works fine before it run failed this moning? 

 

As is said in the troubleshooting a flow documentation:

https://docs.microsoft.com/en-us/flow/fix-flow-failures#other-failures

 

The 502 error is is temporary or transient,you could click or tap Resubmit to try the flow again.

 

Best regards,

Alice

 

View solution in original post

5 REPLIES 5
v-yuazh-msft
Community Support
Community Support

Hi @desteban,

 

Does your problem still exists?

Could you please share a screenshot of the configuration of your flow?

Does your flow works fine before it run failed this moning? 

 

As is said in the troubleshooting a flow documentation:

https://docs.microsoft.com/en-us/flow/fix-flow-failures#other-failures

 

The 502 error is is temporary or transient,you could click or tap Resubmit to try the flow again.

 

Best regards,

Alice

 

Hi @v-yuazh-msft

 

Thanks by your reply. 

 

Yes, the error persist today. This flow runs daily, and since yestarday I have this error. It retried several times without success. Before yestarday the flow was running ok. 

 

I can't attach the flow

Hi all, 

 

the error persist today, somebody have any idea? How can I to resolve it? 

 

Thanks

David

 

Has anyone found an answer to this? I am getting this error suddenly on all my flows and it has stopped production here. No new flows are running from new items being created.  


Does anyone know whats going on?

I have the same issue.

 

Flows that were working suddenly started throwing Bad Gateway codes.

 

I have, of course, already tried 'Resubmit' but the error does not clear.

 

I, too, am desperate to resolve this issue as I have live data that needs to continue moving through the process as it was designed to do.

 

ANY SUGGESTIONS?

 

I strongly suspect a BUG since the error popped up out of nowhere.  I hope these messages are bring MicroSoft's attention to this issue!!


Mary

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,050)