Task does not execute in snowflake

Viewed 2166

I created a task on snowflake using CREATE TASK command. However, the task seems to be suspended, so I wanted to resume the task by following commend:

ALTER TASK TASK_DELETE3 RESUME;

I'm receiving following error message: Cannot execute task , EXECUTE TASK privilege must be granted to owner role

Does anyone know how to solve this issue?

1 Answers

You need to run this command as ACCOUNTADMIN

GRANT EXECUTE TASK ON ACCOUNT TO ROLE <your_role>

Related