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

Bad Gateway 502 on reading email

Hi all,

We are using Flows to pickup emails from our shared mailboxes and populate a "Central Filing" document list in SharePoint. 


So far, as a pilot we've setup four of these of which three configured work as expected. In the fourth, we are seeing a consistent message: 

  "error": {
    "innerError": {
      "message""Request failed. Try again later.\r\nclientRequestId: f4e05222-7925-4e30-8ee1-748389d86bbf\r\nserviceRequestId: 7b6dcf9b-6842-4b36-99ac-30ba0ff922ba",


Looking through the resulting error, it's apparent that the flows is failing at the retrieval of the email step. 


The setup of these are identical, and it is a pretty standard, low sophistication setup:


Analytics shows all runs for this have resulted in the BadGateway error - none of the flows have succeeded. The email box is receiving messages, the connector used has delegated access over the account. 


From the messages here it seems that 502 is a transient error - is there anything that I can do to make it more transient and start working? 


Thanks in advance, 


Community Support Team
Community Support Team

Re: Bad Gateway 502 on reading email

Hi @AdsfromOz,


If the error code  502 appears, the failure is temporary or transient,you could click or tap Resubmit to try the flow again.


You could refer to link below to troubleshooting a flow:



Please take a try to click or tap Resubmit the flow again.



Best regards,


Level: Powered On

Re: Bad Gateway 502 on reading email

Thanks Alice, 


Still failing after 10 attempts - so assuming as the flow runs on receipt of email, that Flow's less transient than I thought. 


The action:

Please take a try to click or tap Resubmit the flow again. 


Is not present (anywhere I could see) so I recreated the flow and the error recurs. Any other ideas which I might try?

Helpful resources


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

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


Power Automate Community User Group Member Badge

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


Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (6,140)