I have a Power Automate flow that generates a survey report and emails it as a PDF whenever a survey is submitted. The flow also sends the survey attachment (doc/docx/pdf) in a separate email, using the following steps Survey123 attachments in Microsoft Power Automate (esri.com)
The report and attachments are emailed just fine, but I can't seem to open the attachments. I always get the below errors.


Here's my flow:
