You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The principal (user or service account) lacks IAM permission \"cloudtasks.tasks.create\" for the resource \"projects\/myproject\/locations\/us-central1\/queues\/cuentas\" (or the resource may not exist).", "code": 7, "status": "PERMISSION_DENIED
Did you manage to fix this? This is a permission thing within IAM.
The service account that is configured ([email protected]) needs to have the correct permissions in order to add tasks to the queue and read them back. Inside IAM Edit Permissions ensure the service account has the following roles (at least these 4 are necessary to make it work):
Uh oh!
There was an error while loading. Please reload this page.
I'm recieving the next error 500:
The principal (user or service account) lacks IAM permission \"cloudtasks.tasks.create\" for the resource \"projects\/myproject\/locations\/us-central1\/queues\/cuentas\" (or the resource may not exist).", "code": 7, "status": "PERMISSION_DENIED
I have created a service account
Also, i have generated a json file
Then, i have added ENV variable
GOOGLE_APPLICATION_CREDENTIALS=/var/www/html/credentials/cloudtasksaularun.json
My full .env is:
And i have created
cuentas
queue inside my Google SDK into my projectFinally, i have created a new folder where i'd save the json service account at this level:
Can you help me to know what i did wrong in order to fix this issue?
The text was updated successfully, but these errors were encountered: