How to fix Google Cloud: The caller does not have permission

You need to double check your current active account and make sure your current active account have that permission. Or else you need to go to your Google cloud console to assign the permission to your current active account or you need to switch your account.


$ gcloud beta functions deploy helloWorld --stage-bucket hdgem --trigger-topic hello_world
ERROR: (gcloud.beta.functions.deploy) ResponseError: status=[403], code=[Forbidden], message=[The caller does not have permission]
i88ca@hdgem:~/gcf_hello_world$ gcloud auth list
Credentialed Accounts:
 - noreply@i88.ca ACTIVE

To set the active account, run:
    $ gcloud config set account `ACCOUNT`

Comments

Popular posts from this blog

jcmd - a utility to send diagnostic command requests to a Java Virtual Machine supporting this feature.