Share via

Getting 401 error when accessing Text Analytics for health client library- The Submit text analysis job Operation under Microsoft Cognitive Language Service - 2022-05-15-preview is not supported with the current subscription key and pricing tier AIService

Jessal John 0 Reputation points
2024-12-19T17:17:33.0933333+00:00
{
    "error": {
        "code": "401",
        "message": "The Submit text analysis job Operation under Microsoft Cognitive Language Service - 2022-05-15-preview is not supported with the current subscription key and pricing tier AIServices.S0."
    }
}

How to fix this?

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. YutongTie-9091 54,026 Reputation points Moderator
    2024-12-28T00:47:44.6933333+00:00

    @Jessal John

    Thanks for your confirmation, I think I find the issue, you are actually using a OpenAI Endpoint. Please see below screenshot, you should click on the three dots and click on Language Service in your AI service endpoints sub tab.

    User's image

    It should be https://XXXXX.cognitiveservices.azure.com/

    I hope this helps, please let us know if you are still blocked.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    Was this answer helpful?


Your answer

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