Getting "400-Unsupported feature" response while calling text analytics health API

Purnima Jaiswal 41 Reputation points
2021-02-18T10:17:33.3+00:00

Hi team,

We are trying to evaluate Text Analytics for Health to solve one of our use cases. So first we created cognitive service in Azure and got hostname and Access key. We tried to use analytics service for health but we are not getting any positive response from service. Below are approaches we tried for evaluation :

--> Web Based API(asynchronous) from Postman

Attached is screenshot of body and URL of request along with “Ocp-Apim-Subscription-Key” passed in header.

--> Downloading Client Library “azure-ai-textanalytics” in python

We installed client library with SDK version 5.1.0b5 (beta release) and tried to execute below python code as mentioned in github document.

Git hub link - https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/textanalytics/azure-ai-textanalytics/

We attached screenshot for code and error for this approach

--> We also tried to use Cognitive services Health console to submit health analysis job but still getting the same error:

Awaiting for your quick response on the above query.

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
407 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,824 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.