I am using the predict function to invoke a form processor model to extract info from an invoice.
I am getting this error when fetchin the table info.
ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@outputs('Predict')?['body/responsev2/predictionOutput/tables/table_2/entries']' is of type 'Null'. The result must be a valid array.
I have made a flow and use compose to validate that there is predict function is fetching the table array.