I am creating a flow in which it trigger when email arrives in specified mail which content pdf attachment. That pdf attachment need to be added to specified shipment in D365 F&O. Here is my flow screenshot

But it is getting failed in create record. Error is "
An error has occurred. Write failed for table row of type 'ZPShipmentHeaderDocumentAttachmentEntity'. Infolog: Warning: 'FileContents' is required when attaching a file; Warning: validateWrite failed on data source 'DocuRefEntity (DocuRefEntity)'
". Even though I have specified file content. Also in compose it shows value.
The same failed flow works fine on resubmit. Please help me with this problem