Closed XiupengMa closed 10 years ago
No, a 500 error means Google is rejecting the file you are uploading. Check the encoding and specified sample rate. I will test the hello world for program for defects.
Turns out that I forgot add a mic.close() line. (Google will not accept active files.) I've modified the example to solve this problem.
Ran it 12 hours ago and it ran perfectly.
On Fri, Apr 18, 2014 at 8:29 AM, Xiupeng Ma notifications@github.comwrote:
I run your "hello word" program and got IOException: Server returned HTTP response code: 500 for URL: https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US&maxresults=4
— Reply to this email directly or view it on GitHubhttps://github.com/The-Shadow/java-speech-api/issues/38 .
With my sincere greetings, Mayukh Nair
I run the tutorial "hello word" program and got an IOException: Server returned HTTP response code: 500 for URL: https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US&maxresults=4