cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FoDelement
Continued Contributor
Continued Contributor

Flow started to fail after no changes.

Hello,

I build a flow that was running fine for months. But I received an email last night saying my flow was turned off due to it failing too many times. 

 

 

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

 

FoDelement_0-1618841393595.png

 

 

 

Nothing was changed, and the connectors are all fine, as you can see I was using the above and it worked. Is there a way to prevent this from happening? 

2 REPLIES 2
v-tiribe
Microsoft
Microsoft

Hello @FoDelement ,

 

Could you please try to:

 

Disassociate and then re-associate the connections in Power Apps (as below steps):

1. Open PowerApp with the App edit mode,
2. Navigate to View > Datasource, selected the control on which the flow is associated and removed the sharepoint connections and re-added back again .

The above did not resolve the issue.
- Export the Flow , import again in the same environment. Then re-established the connection of sharepoint inside power apps.

 

You can also check similar threads below:

https://powerusers.microsoft.com/t5/Building-Flows/property-shared-office365-doesn-t-exist/m-p/12984...

https://powerusers.microsoft.com/t5/Building-Power-Apps/flow-launched-from-powerapps-error/td-p/4339... 

https://powerusers.microsoft.com/t5/I-Found-A-Bug/Flow-Error-quot-connection-cannot-be-evaluated-bec... 

 

Best regards,

Tiago Ribeiro | Power Platform Support Engineer

FoDelement
Continued Contributor
Continued Contributor

Hello,
This flow is connected to multiple apps, (65 to be specific) it would require way too much time to do both of these.
Do we not know what is the cause of this error? I am the owner of the flow, and can confirm nothing was changed. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,454)