cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
GB_Sun
Level: Powered On

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
Community Support Team
Community Support Team

Re: Unable to process template language expressions in send an email action

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

3 REPLIES 3
Super User
Super User

Re: Unable to process template language expressions in send an email action

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!


GB_Sun
Level: Powered On

Re: Unable to process template language expressions in send an email action

@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

Community Support Team
Community Support Team

Re: Unable to process template language expressions in send an email action

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 419 members 5,140 guests
Please welcome our newest community members: