Resource not found for cognitiveservices.azure.com

antt 26 Reputation points
2021-02-27T04:06:38.117+00:00

I added a new cognitive service for text to speech (TTS) at cognitiveservices.azure.com, westcoast2 few hours ago.

When try to list the voices

curl -vvv -H 'ocp-apim-subscription-key: KEY' 'https://resourcename.cognitiveservices.azure.com/voices/list'

I get
{"error":{"code":"404","message": "Resource not found"}}

I used the values in "Keys and Endpoint"

I have been using Azure TTS for many years now, I had to create a new resource in a different region to be able to use the new voices.

Thanks much for your help.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,531 questions
0 comments No comments
{count} vote

Accepted answer
  1. GiftA-MSFT 11,161 Reputation points
    2021-02-27T08:30:13.987+00:00

    Hi, it seems you provided an invalid url. Can you try the endpoint for your region "https://westus2.tts.speech.microsoft.com/cognitiveservices/voices/list"?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful