401 Speaker Recognition Service

felix DEV 0 Reputation points
2024-09-03T05:00:49.27+00:00

Trying to setup and use Azure Speaking Recognition service.

Getting this error.

{"error":{"code":"401","message": "The Create Profile Operation under Speaker Verification is not supported with the current subscription key and pricing tier OpenAI.S0."}}

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,675 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gowtham CP 4,745 Reputation points
    2024-09-03T05:30:05.5333333+00:00

    Hi felix DEV ,

    Thanks for reaching out on Microsoft Q and A.

    To fix the 401 error, you need to use a Speech Service key, not a Cognitive Services key.

    1. Create a Speech Service resource in Azure.
    2. Use its key and endpoint in your API requests.

    Example curl command:

    curl -X POST -H 'Content-Type: application/json' -H "Ocp-Apim-Subscription-Key: your_speech_service_key" -d '{"locale":"en-us"}' https://<your-region>.api.cognitive.microsoft.com/speaker/verification/v2.0/text-independent/profiles
    

    Replace <your-region> and your_speech_service_key with your Speech Service details.

    Attribute and Reference:

    For more information, you can refer to the StackOverflow post on the 401 Speaker Recognition Service issue.

    If you find this solution helpful, please upvote and accept the answer to close the thread.

    Hope this helps!

    0 comments No comments

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.