cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
desteban
Level: Powered On

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

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

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

desteban
Level: Powered On

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

desteban
Level: Powered On

Re: 502 bad gateway error

Hi all, 

 

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

 

Thanks

David

 

Highlighted
localadminbcs
Level: Power Up

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?

mrfishe2
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users Online
Currently online: 393 members 6,825 guests
Please welcome our newest community members: