Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 400 #3

Open
carromeu opened this issue Mar 4, 2018 · 4 comments
Open

Error 400 #3

carromeu opened this issue Mar 4, 2018 · 4 comments

Comments

@carromeu
Copy link

carromeu commented Mar 4, 2018

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?

@shilik
Copy link

shilik commented Apr 2, 2018

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

@aidiary
Copy link

aidiary commented Dec 11, 2018

I have the same error too.

@aidiary
Copy link

aidiary commented Dec 17, 2018

I think the default sampleRate should be 48000.

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

@harshitsinghai77
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants