cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ALFRED05
Helper III
Helper III

ERROR FETCHING TABLE FROM FORM PROCESSOR

Hi,

 

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.
Captura.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
ALFRED05
Helper III
Helper III

never mind this, dummy mistake...the email had another png image that was making the extraction break. Just needed to add a condition.

View solution in original post

1 REPLY 1
ALFRED05
Helper III
Helper III

never mind this, dummy mistake...the email had another png image that was making the extraction break. Just needed to add a condition.

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,468)