Trying to do a simple attachment from email and save to OneDrive and I am getting this error:
Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2319': 'The template language function 'base64ToBinary' expects its parameter to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#base64ToBinary for usage details.'.
In reality i am trying to do something far more comprehensive but in working backwards involving just going to onedrive and trying to eliminate variables this is the error i am getting. It was working fine as of two days ago. Just looking to see if anyone is having similar issue.
A little more information, I compared my failed flows to my succeeding flows from a couple days ago. I highlighted where it detects I have an attachment but it is making the content-bytes null where it expects a string. It clearly lists the size in the body below. I also tried sending from Webmail and Outlook. I tried PDF's, Word Docs, Excel files, nothing seems to be going through.
Hi @ emckinney81,
Could you please share a screenshot of the configuration of your flow?
I have made a test on my side, and don’t have the issue that you mentioned.
Please make sure you have set the “Has Attachment” field and the “Include Attachments” field to “Yes”.
If you set the “Has Attachment” field and the “Include Attachments” field to the default value “No”, the error would occur as you as screenshots below：
Or if you set the “Has Attachment” field to “Yes” and set the “Include Attachments” field to “No”，the error would occur as you as screenshots below：
The screenshot of my flow as below:
When an email with attachment arrives, the flow would run successfully as below:
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021
Fill out a quick form to claim your user group badge now!