cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

'Null' predict result causes flow to fail

 
1 ACCEPTED SOLUTION

Accepted Solutions

Thanks a lot for taking the time to provide the info @blaise 

 

Indeed in this case, there is text, and you get back results: 

{"predictionOutput":{"results":[{"type":"Positive","score":0.8488399}]},"operationStatus":"Success","error":null}

 

For this case, do you get the same error on the Apply to each 2 step as seen on the screenshot you shared on your first message?

View solution in original post

11 REPLIES 11
Power Apps
Power Apps

Hi @blaise,

 

Could you please share a screenshot of the result you get on the Parse JSON step?

 

Thanks!

 

2019-07-15_21-02-35.png

 

Thanks a lot @blaise !

 

It looks like the issue is on the predict action. Could you provide similar info like what you did for Parse JSON but for the precit action?

 

Thanks @blaise !

 

It looks like the text that is being sent for text classification is empty.  "item/request""{\"text\":\"\"}"

 

Can you check that the Q_12A_Comments field has content in it?

@JoeF-MSFT  Some of them are empty, but the majority have text in them. I expected the ones without text to fail, but they are all failing.

Hi @blaise, can you the output of predict and parse JSON for a case where Q_12A_Comments has text on it?

 

Thank you. 

 

Thanks a lot for taking the time to provide the info @blaise 

 

Indeed in this case, there is text, and you get back results: 

{"predictionOutput":{"results":[{"type":"Positive","score":0.8488399}]},"operationStatus":"Success","error":null}

 

For this case, do you get the same error on the Apply to each 2 step as seen on the screenshot you shared on your first message?

View solution in original post

@JoeF-MSFT It appears that it is working for those with text. I need to modify my flow as I need this to update records when it runs instead of creating new ones. I might have additional questions concerning that. When I tried to do update records earlier, everything else in my flow was the same but it did not update the records.

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (38,152)