vue-pwa-speech icon indicating copy to clipboard operation
vue-pwa-speech copied to clipboard

Error 400

Open carromeu opened this issue 6 years ago • 4 comments

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:

vue-pwa-speech

Any help?

carromeu avatar Mar 04 '18 15:03 carromeu

I got the same problem too! Any idea for the solution?

shilik avatar Apr 02 '18 08:04 shilik

I have the same error too.

aidiary avatar Dec 11 '18 09:12 aidiary

I think the default sampleRate should be 48000.

> console.log('sampleRate:', audio_context.sampleRate)
48000
"config": {
    "encoding": "LINEAR16",
    "sampleRateHertz": 48000,  // here!
    "languageCode": null
}

aidiary avatar Dec 17 '18 04:12 aidiary

I am getting the same problem. It says Request failed with status code 400

harshitsinghai77 avatar Mar 01 '19 07:03 harshitsinghai77