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

Invalid template

Hello dear support team,
We often encounter the error:
     "Unable to process template language expressions in action 'Get_file_properties' inputs at line '1' and column '2136': '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_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'."
     and we can't figure out what the reason is. In Support, there were similar questions and everyone writes that you just need to reconnect the flow. We did so, but after a short time the error returned, please tell us what the problem might be? thank you!

 

Screenshot_15.png

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @Aida ,

 

If you are using the PowerApps button as a trigger, then after you update the Flow, you need to remove the Flow from the Apps, and then add the Flow again, then this problem can be solved. Please check this article and get more details:

https://support.microsoft.com/en-us/help/4477072/best-practices-updating-a-flow-used-by-a-powerapp

 

When testing Flow, you can click I ’ll perform the trigger action to do the test instead of clicking Using data from previous runs.

 

In addition, you can choose to solve this problem by exporting Flow as a .zip file, and then re-importing it as a new Flow. After configuring the connection, this problem can also be solved.

 

Please take a try again and feel free to let us know if the issue still exists.

 

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,132)