MetricSign
EN|NLRequest Access
Medium severityexecution

Power BI Refresh Error:
NOTEBOOK_EXECUTION_ERROR

What does this error mean?

A Snowflake Notebook cell or workflow-triggered notebook run failed during execution, caused by a Python exception, SQL error, or resource constraint within the notebook environment.

Common causes

  • 1A Python cell raised an unhandled exception that propagated and halted the notebook
  • 2A SQL cell executed a DML statement the notebook role does not have permission to run
  • 3The notebook warehouse was suspended and did not auto-start within the query timeout
  • 4A package dependency imported in the notebook is not available in the Snowflake container runtime version

How to fix it

  1. 1Step 1: Open the failed notebook in Snowsight and review the cell output for the specific error message.
  2. 2Step 2: For Python errors, add try/except blocks to isolate the failing cell and log the exception.
  3. 3Step 3: For SQL permission errors, grant the required privileges to the notebook role on the target objects.
  4. 4Step 4: Confirm the warehouse assigned to the notebook is running and has sufficient capacity.
  5. 5Step 5: For missing packages, add them to the notebook's Packages panel and restart the kernel.

Frequently asked questions

Can Snowflake Notebooks be scheduled to run automatically?

Yes — as of early 2026, Snowflake Notebooks can be run as Snowflake Tasks. You can schedule them with a CRON expression or chain them as dependent tasks.

Do Snowflake Notebooks support Git integration?

Yes — Snowflake Notebooks can sync to a Git repository. Changes in the notebook UI can be committed, and CI/CD pipelines can deploy notebook updates automatically.

Other execution errors