I have a flow which runs when an email is received and for each attachment it moves the attachment to a one drive folder.
This flow has been running for over 6 months (20,000+ runs) with no issue, today this flow wont work with the 502 BadGateway error on the create file step:
The body is:
I wonder if something is going on. I have experienced the same thing today. Exact same issue with OneDrive. Adding a comment, and hoping someone posts a resolution, OR that it resolves itself from Microsoft if it's a wider issue.
Thanks @Harry_G - here is the error. I deleted all files from OneDrive just in case that was causing the issue. The flow has been working without any issues for several days now. Then just broken this morning all of a sudden.
I have checked our Onedrive for any issues but there's plently of space and this has also occured to a colleague and her OneDrive. The Email has a system genrated pdf attached which hasn't been changed since this flow was first created.
In short for each email it looks at each attachment (always 1) and for each attachemnt it creates a Onedrive file for it.
We have the exact same issue and it started this morning with more than 10 flows whos only job is to download the email attachment to onedrive
We have a ticket open with Microsoft, but have still to receive a reply.
I have recreated the issue by doing a new similar flow from scratch and encountered the same Bad Gateway 502 error.
Could you please try again with it?
Does the issue still happen?
What’s your location?
Generally, error code 502 means that the failure is temporary or transient. Please click or tap Resubmit to try the flow again.
I have made a flow likes below which is working fine.
Please test it on your side and feel free post back if the issue still exits.
The flow started working yesterday morning and i have had 0 issues since then, it seems like there was a temporary fault with OneDrive and Flow.
What should I verify as the solution as there was no user solution?
Microsoft broke something then fixed it a day later.
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!