Skip to content

Airflow 3: use clear 404 when something is not found at a given URL #58436

@brki

Description

@brki

Apache Airflow version

3.1.3

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

https://BASE_URL/dags/misspelled_dag
=> shows an empty, but otherwise normal dag overview page. A little red box with an X in it , if clicked on, provides the information that the dag is not found.

https://BASE_URL/dags//some_dag (with a double slash in the URL)
=> Shows an empty (except for the Airflow sidebar) page

What you think should happen instead?

When a URL leads to something non-existant, it would be nice to see a clear 404 not found error.

How to reproduce

  • https://BASE_URL/dags/misspelled_dag
  • https://BASE_URL/dags//some_dag (doubled slash)

Operating System

linux (Airflow docker image)

Versions of Apache Airflow Providers

Those in the Airflow 3.1.3 docker image.

Deployment

Official Apache Airflow 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

area:UIRelated to UI/UX. For Frontend Developers.kind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions