Reputation: 91
remote: PERMISSION_DENIED: The caller does not have permission remote: [type.googleapis.com/google.rpc.RequestInfo]
Not able to clone, push the code into google cloud source repository. I have given "Project Editor" iam permission. I have successfully login with "gcloud login" command. I also have set the right default project configuration and account configuration using "gcloud config set project" and "gcloud config set account" commands. Please help me with this PERMISSION_DENIED error.
Upvotes: 6
Views: 6408
Reputation: 11
For me it was that my free trial had ended and I needed to enable the billing here: https://console.developers.google.com/billing/enable?project=[YOUR_PROJECT_ID]
Upvotes: 1
Reputation: 17137
For me this happened when I used SSH and connection re-use by a ControlMaster
directive.
It seems like google's git implementation can't handle this.
For me either of these two worked:
ssh -O exit ...
(add your connection)ControlPath
)Upvotes: 0
Reputation: 963
I had the exact same issue and I resolved it by adding a new entry in the .gitcookies file.
You have to manually generated and stored your Git credentials by login on this page: https://source.developers.google.com/auth/start?scopes=https://www.googleapis.com/auth/cloud-platform&state=
That will ask you to login with your account and allow Google Cloud Development wants to access your Google Account. Then, you'll have the script you have to run.
Hope this helps you as well.
Upvotes: 7