azurefilepdfazure-logic-appsis-empty

Azure logic apps - how to upload pdf content


Hello I have a logic app that looks for email attachments, I made an HTTP request to upload this file into a temporary blob storage. When I open my pdf file it is empty.

enter image description here

I have a variable where I put the file content and send it as body in the HTTP Request and It looks like this

enter image description here

I need to upload any type of files and I am getting this problem only with files that are not text


Solution

  • Not sure if this is strictly the same issue, I'm using a different logic app action, but I was able to solve this issue by first converting the content from base64 to binary Conversion of a PDF filecontent using @base64ToBinary