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"?
Resource not found for cognitiveservices.azure.com

antt
26
Reputation points
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.