cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
blaise
Level: Powered On

'Null' predict result causes flow to fail

 
1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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
PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

 
PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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?

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

 
PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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?

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

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

PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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

 

Thank you. 

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

 
PowerApps Staff JoeF-MSFT
PowerApps Staff

Re: 'Null' predict result causes flow to fail

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

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

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

blaise
Level: Powered On

Re: 'Null' predict result causes flow to fail

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 159 members 6,555 guests
Please welcome our newest community members: