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

'Returns_a_numeric_score_representing_the_sentiment_detected' failed

I have created a custom connector and when I use the same in a flow it throws an error:

 

The API 'textanalyticsdemo-5f4c1e90cbd0f5e3a0-5f636fe2165eb8511a' returned an invalid response for workflow operation 'Returns_a_numeric_score_representing_the_sentiment_detected' of type 'OpenApiConnection'. Error details: 'The API operation 'DetectSentiment' requires the property 'body/documents/0/score' to be of type 'Integer' but is of type 'Float'.'

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: 'Returns_a_numeric_score_representing_the_sentiment_detected' failed

Hi @RPA2 ,

 

The error message said the he API operation 'DetectSentiment' requires the property 'body/documents/0/score' to be of type 'Integer' but is of type 'Float'.

 

Please enter the integer type value to it instead of float.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: 'Returns_a_numeric_score_representing_the_sentiment_detected' failed

Hi @RPA2 ,

 

The error message said the he API operation 'DetectSentiment' requires the property 'body/documents/0/score' to be of type 'Integer' but is of type 'Float'.

 

Please enter the integer type value to it instead of float.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

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.

Top Solution Authors
Users online (3,986)