cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GB_Sun
Regular Visitor

Unable to process template language expressions in send an email action

I could use help resolving this error.

 

InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '1' and column '2569': '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.'.

I've seen several similar issue posted and many have said the error appeared unexpectedly after previously working. My flow (see image below) is identical to one of my coworkers, however, I'm receiving the above error while his works as expected. 

 

Any help is much appreciated. 

 

Workflow Error.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @GB_Sun ,

 

I did a test on my side. If there is nothing in the newly created file, the same error will occur.

Please try to get size of the file using Get file metadata. If Size is 0, Send email action will not be executed.

 

Image reference:

67.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
gamoraes
Memorable Member
Memorable Member

Hi @GB_Sun 

 

Can you post please here the history? If you can open all actions will be more easy to we can help.


Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


@gamoraes 
See the attached screenshot for the results of the flow.

I created the flow over the weekend. The first file in the folder was emailed and moved successfully; however, since then every test of the flow returns an error. I've tried deleting and re-adding the errored action several times. I've also re-made the flow from scratch and I get the same error.

Workflow Error History.png

Hi @GB_Sun ,

 

I did a test on my side. If there is nothing in the newly created file, the same error will occur.

Please try to get size of the file using Get file metadata. If Size is 0, Send email action will not be executed.

 

Image reference:

67.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Hi, 

Is there any other way to solve this problem? 

The flow is failed after then try for second time, however, it works at the first time. 

 

Your help would be a great support to me.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,860)