Hello,
I cannot open pdf attachment in email sent by flow despite that the SAME formula is working in next steps of the SAME flow.
Here is how it works:
1) I'm creating pdf from template, and send HTTP request with it inside.

2) I receive HTTP request in next flow:

Code inside is
{
"type": "object",
"properties": {
"PDFFileContent": {
"type": "object",
"properties": {
"$content-type": {
"type": "string"
},
"$content": {
"type": "string"
}
}
},
"ListItemID": {
"type": "string"
}
}
}
3) I send email with pdf in attachment:

4) And I cannot open it in received email:

5) Whats more, I have the same formula in next steps of this flow, and it is working good ( I can open pdf without problem )

I have no idea why it is not working. I tried to export and import this flow, delete and add step with sending email with attachment, but none of them worked. Whats more despite that this is the same formula in "attachment content" field, the received attachments in email are also diffrent by their weight ( first one, corrupted, is ~100 KB bigger ).
Thank you for all your help