Azure-Samples / SpeechToText-REST

REST Samples of Speech To Text API
MIT License
22 stars 29 forks source link

Error code 503 Service unavailable #8

Open DineshGuptaa opened 6 years ago

DineshGuptaa commented 6 years ago

Hi All,

I am trying to rum sample with PCM

audio data with sample rate 16000 but always getting response 503.

Please let me know what I am doing wrong.

Thanks, Dinesh Gupta

zhouwangzw commented 6 years ago

Which endpoint URL were you using? Could you please share the URL?

DineshGuptaa commented 6 years ago

Hi,

I am using same java sample without any modification(SpeechClientREST.java). REQUEST_URI = "https://speech.platform.bing.com/speech/recognition/%s/cognitiveservices/v1"; private static final String PARAMETERS = "language=%s&format=%s";

Reagrds, Dinesh Gupta

zhouwangzw commented 6 years ago

I tried this URL: https://speech.platform.bing.com/speech/recognition/interactive/cognitiveservices/v1?language=en-us&format=simple, and it works for me.

sweetestatglance commented 4 years ago

我用这个stt rest api 一直报400 我用的是westus 结点 不知道这个节点是否在正常运行,或者是此demo失效了