vue-pwa-speech
vue-pwa-speech copied to clipboard
Error 400
Hi! First, thanks for this code! I am trying to use, but its is returning HTTP error 400:
ERROR:Error: Request failed with status code 400
According Google (https://cloud.google.com/speech/reference/rest/v1/Code), this error indicates a "invalid pre-condition" or "mal-formed argument", but has no details in error:
Any help?
I got the same problem too! Any idea for the solution?
I have the same error too.
I think the default sampleRate should be 48000.
> console.log('sampleRate:', audio_context.sampleRate)
48000
"config": {
"encoding": "LINEAR16",
"sampleRateHertz": 48000, // here!
"languageCode": null
}
I am getting the same problem. It says Request failed with status code 400