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

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
Community Support

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.
Highlighted
Regular Visitor

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.

 

Created a file to check the prediction contentsCreated a file to check the prediction contents

Flow 2.JPG

 

Thanks for the help,

Abhishek

 

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,854)