cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: 502 bad gateway error

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
Highlighted
Community Support
Community Support

Re: 502 bad gateway error

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

Highlighted
Frequent Visitor

Re: 502 bad gateway error

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

Highlighted
Frequent Visitor

Re: 502 bad gateway error

Hi all, 

 

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

 

Thanks

David

 

Highlighted
New Member

Re: 502 bad gateway error

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?

Highlighted
Frequent Visitor

Re: 502 bad gateway error

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,705)