Skip to content

Trigger DAG w/config raising error from task detail views #29197

@enrique-ayala

Description

@enrique-ayala

Apache Airflow version

Other Airflow 2 version (please specify below)

What happened

Version: 2.4.3 (migrated from 2.2.4)

Manual UI option "Trigger DAG w/config" raises an error 400 Bad Request - Invalid datetime: None from views "Task Instance Details", "Rendered Template", "Log" and "XCom" . Note that DAG is actually triggered , but still error response 400 is raised.

What you think should happen instead

No 400 error

How to reproduce

  1. Go to any DAG graph view
  2. Select a Task > go to "Instance Details"
  3. Select "Trigger DAG w/config"
  4. Select Trigger
  5. See error

Operating System

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

Versions of Apache Airflow Providers

No response

Deployment

Other 3rd-party Helm chart

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions