cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jevita
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

1 REPLY 1

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

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 (1,252)