GitHub user potiuk added a comment to the discussion: Run Airflow DAG returning 404 for a broken DAG, instead of sensible error.
It's by design. Dag cannot be created when there is import error - simply because of the "import error" issue. There is no idea even what dag_id is because .... there is mport error, so there is no idea to know dag_id. What we DO know is the file the Dag comes from -> and this is what you can look for via: https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_import_errors GitHub link: https://github.com/apache/airflow/discussions/53737#discussioncomment-13883009 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
