rposbo / speaker-recognition-api

A simple demo project for the Microsoft Cognitive Services Speaker Recognition APIs
https://rposbo.github.io/speaker-recognition-api/
30 stars 14 forks source link

404 error #8

Closed toddler4372 closed 3 years ago

toddler4372 commented 3 years ago

Hi, I get this 404 error once in the demo after I record my voice. (screenshot) It records fine, and sounds fine on playback. Any ideas? The work you've done here is exactly the help I'm needing with the API, btw.

Screen Shot 2021-03-19 at 12 36 17 PM
rposbo commented 3 years ago

What happens when you hit "list verification phrases"? If that shows a 404, then MS might have changed the API endpoints again and we'll need to update them in this demo.

Did you enter the correct value for your endpoint and key on the page prior?

rposbo commented 3 years ago

yep, CS API endpoints have changed :(

rposbo commented 3 years ago

Ah - you just need the domain part of your CS endpoint now, instead of, e.g.:

https://<your cs name>.cognitiveservices.azure.com/sts/v1.0/issuetoken

just use:

https://<your cs name>.cognitiveservices.azure.com/