GitHub user piomar123 added a comment to the discussion: on_failure_callback when the DAG (not a task) fails
My assumption is `IndexError` - you try to get the first "failed" task, but if only the DAG fails, there will be none and the callback fails. GitHub link: https://github.com/apache/airflow/discussions/38897#discussioncomment-11843308 ---- This is an automatically sent email for commits@airflow.apache.org. To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org