Search code examples
node.jsmachine-learninggoogle-cloud-platformspeech-to-textgoogle-cloud-speech

Authentication troubles for google cloud speech api


I trying to get started with google cloud speech with node.js but I am having troubles with authentication. I am following the setup steps outlined on the github. I tried the setup in this tutorial but had no luck.I keep getting this error..

ERROR: Error: Unexpected error while acquiring application default credentials: Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information.

I am looking for some insight on how to setup the credentials so I can start running the models. Any input would be much appreciated. Thank you.


Solution

  • As the error message said, you should read this to get your credentials set up.