Yes, I can run the task when the type selected is Notebook and the code is moved to a sql notebook. The issue only occurs when trying to run a task of type SQL.