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

Unable to process template language expressions

Hi,

 

I have an Approval flow and on Approval-"time-out" an action is supposed to update the status in a sharepoint-list.

But when the Flow triggers this action I get the error message below.

The action "Update_item_7_-_Timeout" seems to be just fine!

 

Questions:

Why does it seems that the system use an unvalid connection, and can I change it?

To my understanding "Flows" are personal, so if I use my connection (e-mail) to the Sharepoint-list then that will be changed to the users connection, right?

And all users can access the underlaying Sharepoint-list thru Flow? You don't have to open the list for the whole company explicit?

 

InvalidTemplate. Unable to process template language expressions in action 'Update_item_7_-_Timeout' inputs at line '1' and column '2120': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']' cannot be evaluated because property 'shared_sharepointonline_1' doesn't exist, available properties are 'shared_approvals, shared_sharepointonline, shared_flowpush'. Please see https://aka.ms/logicexpressions for usage details.'.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Unable to process template language expressions

 

Hi @Eirik1337 ,

 

Question1: You could delete the invalid connection you mentioned and reconfigure the connection. As long as the account used to configure the connection has sufficient permissions to use the corresponding service.

Question2: Basically, many Flow actions use personal accounts to create connections. But Flow itself is not only for the individual user, it can also cover some usage scenarios including team/organization/enterprise. You could try to create Team Flow and share your Flow with other users.

Question3: Whether other users can access the specified list, still need to check if they have the specified permissions to access this list.

 

Finally, regarding the InvalidTemplate, please try to export the Flow as a .zip file and then re-import it as a new Flow. After configuring the connection, this problem can be solved.

 

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

2 REPLIES 2
Dual Super User
Dual Super User

Re: Unable to process template language expressions

Hi @Eirik1337 

 

2 options:

1- reset all connections (your token has timed out)

2- export and re-import the Flow

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Community Support Team
Community Support Team

Re: Unable to process template language expressions

 

Hi @Eirik1337 ,

 

Question1: You could delete the invalid connection you mentioned and reconfigure the connection. As long as the account used to configure the connection has sufficient permissions to use the corresponding service.

Question2: Basically, many Flow actions use personal accounts to create connections. But Flow itself is not only for the individual user, it can also cover some usage scenarios including team/organization/enterprise. You could try to create Team Flow and share your Flow with other users.

Question3: Whether other users can access the specified list, still need to check if they have the specified permissions to access this list.

 

Finally, regarding the InvalidTemplate, please try to export the Flow as a .zip file and then re-import it as a new Flow. After configuring the connection, this problem can be solved.

 

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
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

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 Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,256)