Showing results for 
Search instead for 
Did you mean: 
New Member

New Error | The result must be a valid array.

Hi All-

I'm a new power automate user and I'm slowly attempting to build logic. If anyone has suggestions please help! 


Full Error: The execution of template action 'Apply_to_each_3' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')?['resourceData/responseId']' is of type 'Integer'. The result must be a valid array.


Logic The first form creates the list item and second form updates/appends the record. I have built a second flow that is triggered by a Sharepoint list item/record update from the 2nd form. The above error occurred when I applied the get item and condition evaluating a calculated field "Row ID" from form B = "Row ID" in Sharepoint list to append form results. The list calculated field is a concatenation of User ID,-99. I added the condition after finding that the flow will run but adds new list items/records vs mapping and appending to existing list items/record. 

Super User III
Super User III


Can you share a screenshot from your 2nd flow design? Please remember to doubleclick on each action block so its inputs are visible


Each time you click on any of our inspiring answers 'Thumb up' icon... ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!

Escribo sobre Power Automate en:

Proud to be a Flownaut!

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,565)