umacco
April 26, 2024, 12:32am
1
Hi there, I keep getting the error Permission ‘run.services.create’ denied on resource ‘namespaces/project-id/services/function-1’ (or resource may not exist). even though the user account has the permission
I have spent a lot of hours trying to find a solution, please help.
1 Like
What command are you trying to run?
If you’re running a gcloud CLI command, make sure you have the right account as the active account. Run the command below to find the active account
gcloud config list account --format "value(core.account)"
If it turns out you don’t have the right account, you can change it by running
gcloud config set account <accountemailaddress>
Also make sure you’re executing commands against the ‘right’ project. Best way to do this is to always include the –project flag in your commands
**…**NoCommandLine …
https://nocommandline.com
Analytics & GUI for
App Engine & Datastore Emulator
2 Likes