get_import_errors
Retrieve DAG import errors recorded by the scheduler to debug why a DAG file fails to parse and does not appear in Airflow.
Instructions
List DAG import errors (parse failures) recorded by the scheduler.
The primary debugging tool when a DAG you just wrote isn't showing up: a file that raises at import time is recorded here with its filename and full traceback.
Args: limit: Max errors to return (default 100). offset: Pagination offset.
Returns:
ImportErrorList with import_errors (filename, stack_trace, timestamp,
import_error_id) and total_entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| import_errors | Yes | ||
| total_entries | No |