Hi, I have a flow that has been working fine for several years and has suddenly stopped working. It fails on a create and wait for an approval with a BadGateway 502 error.
I have narrowed this down to attachments. I am attaching multiple files by appending for each file:
{
"Name": @{outputs('file_name')},
"Content": @{body('get_attachment_content')}
}
I know this should be OK as I am using this same array to attach the items to a SharePoint list item.
When I remove the attachments array from the approval it works fine.
I have flows in other environments that are almost identical with no issue and no one has changed this flow for at least several months. 502 BadGateway doesn't seem a lot to to go on.
Very grateful for any ideas.