cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Penngineer
Helper I
Helper I

Error Message.

Any idea how to fix this?

 

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Update_item' at line '1 and column '7599' is invalid. Action 'Apply_to_each' must be a parent 'foreach' scope of action 'Update_item' to be referenced by 'repeatItems' or 'items' functions.'.'
2 ACCEPTED SOLUTIONS

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Penngineer,

 

The error is the Update item action location is incorrect. If you have an action named Apply to each, you should put the Update item action into the Apply to each action.

 

If the Flow still has the issue, please share a screenshot of your Flow, it will help us assist you better.

 

Best Regards,
Community Support Team _ Lin Tu
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

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

View solution in original post

5 REPLIES 5
v-litu-msft
Community Support
Community Support

Hi @Penngineer,

 

The error is the Update item action location is incorrect. If you have an action named Apply to each, you should put the Update item action into the Apply to each action.

 

If the Flow still has the issue, please share a screenshot of your Flow, it will help us assist you better.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1.png2.png3.png4.png

Hi @Penngineer,

 

Please remove the Apply to each 2 and Apply to each 3 actions, it is unnecessary.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

To get rid of them, I think I have to make variables for the comments and response as those are tagged with "response" and must be applied to each "response".

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,002)