I need some help with a Power Automate flow that attaches files to from survey responses to an email. I followed this guide:
https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-working-with/bc-p/1197954#M5198
And have come up with this flow:

However, when saving I get this error:

If I remove either of the attachments (so there is just one, either just "Photo" or just "File"), it saves and the flow operates properly.
For example:

or

How can I do both attachments?
Thanks for any help!