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.
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?