I have created a flow which populates a word document template, saves the changes as a separate word doc, which is then converts it into a pdf and then saves it within OneDrive. Until this this point in the flow no errors have occurred.
I then wanted to send a email via Outlook with the PDF attached.
My issue is that the attached PDF in the email will not open as I get the error message: "This file cannot be be previewed because it is corrupted", now I struggle to understand why it is saying it is corrupted as I am able to open the PDF just fine from within the OneDrive folder.