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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,413)