Closed
Description
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:
QUEUE_CONNECTION=cloudtasks
STACKKIT_CLOUD_TASKS_PROJECT=xxxxxxxxxxxxxxxxx
STACKKIT_CLOUD_TASKS_LOCATION=us-east1
STACKKIT_CLOUD_TASKS_HANDLER=https://xxxxxxxxxxxxxxxxxx/handle-task
STACKKIT_CLOUD_TASKS_QUEUE=cuentas
STACKKIT_CLOUD_TASKS_SERVICE_EMAIL=cloudtasksaularun@xxxxxxxxxxxxxxxx.iam.gserviceaccount.com
GOOGLE_APPLICATION_CREDENTIALS=/var/www/html/credentials/cloudtasksaularun.json
And i have created cuentas
queue inside my Google SDK into my project
Finally, 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?
Metadata
Metadata
Assignees
Labels
No labels