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

Luis could not parse prediction object

Hi,

 

I am trying to parse keywords from an email using LUIS, but when I try to run the flow I get the below error

 Status code 400 

"message""Could not parse LUIS prediction object"

The error description in the LUIS documentaion states that "This error can be returned if the request's parameters are incorrect meaning the required parameters are missing, malformed, or too large." I checked all the parameters and they seem fine also the text length is 59 which is in the scope of the 500 character limit of LUIS. Can someone help me with this?

 

My flow link  - "https://preview.flow.microsoft.com/manage/environments/839eace6-59ab-4243-97ec-a5b8fcc104e4/flows/sh..."

 

Thank You

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Luis could not parse prediction object

Hi @abhi4892,

 

Could you please share a screenshot of your flow’s configuration?

Further, could you please show a bit more about the error message?

I have made a test on my side and the flow works well. Please take a try with the following workaround:10.JPG

 The flow works successfully as below:11.JPG

 

Please check if you have filled proper value in “Get prediction” action and "Get entity by type" action.

 

In addition, please check and see if the following article would help in your scenario:

https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/luis-get-started-create-app

 

More details about the LUIS connector, please check the following document:

LUIS Connector

 

Note: You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading. 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
abhi4892
Level: Powered On

Re: Luis could not parse prediction object

Hi @v-xida-msft,

 

Adding the GetPrediction flow helped me in executing the flow successfully. I have a new problem where, I think, the GetEntity task is not able to read the input form the prediction. I added a create sharepoint item task where the entity would be stored in a text file and the file created is blank. Below are the screenshots of my flow.

 

Flow 1.JPGCreated a file to check the prediction contents

Flow 2.JPG

 

Thanks for the help,

Abhishek

 

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: 86 members 4,989 guests
Please welcome our newest community members: