cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

4 REPLIES 4
Highlighted
Memorable Member
Memorable Member

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!


Highlighted
Regular Visitor

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

Highlighted
Community Support
Community Support

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

Highlighted
Frequent Visitor

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,417)