i have followed the google cloud speech api quickstart of requesting api by using
curl -s -H \"Content-Type: application/json\" \\
-H \"Authorization: B
It could be that The Application Default Credentials are not available
Try to login by running
gcloud auth application-default login
And follow the instructions, reference: gcloud auth application-default login
If you want to make sure the authentication process went well, run:
gcloud auth application-default print-access-token
You should see an access token, reference gcloud auth application-default print-access-token