cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thomas1992UK
Frequent Visitor

Invalid Template - Flow/Power apps and Sharepoint

Hi,

 

I am getting the below error - I have created a new canvas app and new flow but still no look. It works when I perform the trigger actions but not when I run from my power apps. The values come across from Power apps correctly but I can't get all SharePoint items.

 

errorerror

 

InvalidTemplate. Unable to process template language expressions in action 'Get_items' inputs at line '1' and column '2145': '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 ''. Please see https://aka.ms/logicexpressions for usage details.'.

6 REPLIES 6
abm
Super User
Super User

Hi @thomas1992UK

 

Disconnect your flow from PowerApps and reconnect it.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
thomas1992UK
Frequent Visitor

Hi, 

 

I've tried this and i've created a new flow and new app but still no luck.

 

 

hi @thomas1992UK  cloud you show us what do you have configured in get items?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Just a list

 

Capture1.JPGCapture.JPG

abm
Super User
Super User

Hi @thomas1992UK 

 

Thanks for the update.

 

Could you try recreate a new flow from scratch and connect to your app?

 

Let me know the results.

 

Thanks 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

@thomas1992UK  please follow the @abm  suggestion I see everything ok in your flow.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (2,478)