Hi,
I have a flow that, when an email arrives, extracts the attachments, which are a PDF and XML. I put them in an array with the following structure:
{
"Name": "@{items('Apply_to_each')?['name']}",
"ContentBytes": "@{items('Apply_to_each')?['contentBytes']}"
}
Everything is correct with the flow; the problem is that when the email with the attachments arrives, the XML opens correctly, but the PDF is blank. I have already tried removing the quotation marks from ContentBytes, also with the 'get attachments' connector, but the result is the same. The XML is fine, but the PDF appears blank.


