Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

ruining queries greater than expression

I'm using flow to get the photos from a Survey123 form photorepeat feature service. when i run the flow i get the below error


ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@body('Parse_Photos')?['features']' is of type 'Null'. The result must be a valid array.


im not sure why could someone help?


*phtots attached*



Capture.PNG 1Capture.PNG


HI @Jevita 


The apply to each action in your flow is failing because the values returned in the array on whihc you are applying the loop is empty. Can you check what array you put on the apply to each condition and if there is any data coming into it? 

Helpful resources

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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,051)