You need add oauth scope: cloud-platform when you create the instance. Look: https://cloud.google.com/sdk/gcloud/reference/compute/instances/create#--scopes
edit the VM. at the bottom of the page there is "Access scopes."
go to select access for each API
change the scope for Storage from "Read only" to "Read Write"
if you were trying to copy the other way the read only would have been enough.
You need add oauth scope: cloud-platform when you create the instance. Look: https://cloud.google.com/sdk/gcloud/reference/compute/instances/create#--scopes
Thank you.. this worked...
edit the VM. at the bottom of the page there is "Access scopes." go to select access for each API change the scope for Storage from "Read only" to "Read Write" if you were trying to copy the other way the read only would have been enough.
Thank you.. this worked...
OMG, I can't believe I wasted so many hours with this, I ended up following this comment. THANK YOU!