cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '1' and column '2850': '

Hi, Morning All! 

 

1. When a new file is added

2. Get the file name (without extension) as email subject (with formula: 

substring(triggerOutputs()['headers']['x-ms-file-name'],0,sub(length(triggerOutputs()['headers']['x-ms-file-name']),5)))

3. Send out email.

 

My idea is as above and it does work at the first time. However, it suddenly not working with error below. I tried many ways as suggested to re-build a same flow and re-run or clear browsing history, both of them did not work out. 

 

Error: InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '1' and column '2850': 'The template language function 'base64' expects its parameter to be a string, an object or an array. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#base64 for usage details.'.

 

2020-07-03 18_12_07-Run History _ Power Automate.jpg

 

Your advise would be appreciated! Thanks in advance!

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (5,418)