High severitydata pipeline
Power BI Refresh Error:
Task Predecessor Not Found
What does this error mean?
A Snowflake Task references a predecessor task that does not exist in the same schema, or the predecessor was dropped after the dependency was defined.
Common causes
- 1Predecessor task was dropped without updating dependent tasks
- 2Task created with a predecessor name that was misspelled
- 3Tasks created in different schemas — Snowflake requires predecessor tasks to be in the same schema as the dependent task
- 4Predecessor task renamed after the dependent task was already created
- 5Environment (dev/prod) task name mismatch in a deployed task graph
How to fix it
- 1Run `SHOW TASKS IN SCHEMA <schema>` to list all available tasks and verify the predecessor name
- 2If the predecessor was renamed or dropped, update the dependent task: `ALTER TASK <task> ADD AFTER <correct_predecessor>`
- 3Remove the stale predecessor reference: `ALTER TASK <task> REMOVE AFTER <missing_predecessor>`
- 4Ensure all tasks in a DAG are in the same schema — cross-schema task dependencies are not supported
- 5After fixing, resume the root task: `ALTER TASK <root_task> RESUME`