web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

502 bad gateway error

(0) ShareShare
ReportReport
Posted on by 19

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? 

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    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

     

  • desteban Profile Picture
    19 on at

    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 Profile Picture
    19 on at

    Hi all, 

     

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

     

    Thanks

    David

     

  • localadminbcs Profile Picture
    10 on at

    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 Profile Picture
    20 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard