Jan 16, 2023
Are you getting this error just after you deployed you application to cloud run? Because if that's the case, please check that you changed the security configuration to "Allow unauthenticated invocations"
EDIT: Now that I read with detail. It must be that the gcloud cli is not getting the glocud-service-key.json file.