Skip to content

Getting 404 error on clicking the overview for task runs of a mapped task #57582

Description

@shri-astro

Apache Airflow version

3.1.1

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

No response

What happened?

For the mapped tasks under a dag, when the overview section is clicked to get further insights on the task run, 404 error as shown in the attached screenshot is seen.
This issue is not seen for the tasks that do not have mapped tasks.

Image

What you think should happen instead?

The task instance run details should be loaded similar to the details loaded on clicking the individual task instances under "Task Instances" sections of mapped tasks.

How to reproduce

  • Deploy a dag with the tasks containing mapped tasks.
  • Run the task and verify the overview section of the task with mapped instances
  • Click on one of the task instance runs from the "Overview" section - Last 14 Task Instances.
  • Verify if the task instance details are loaded

Operating System

os

Versions of Apache Airflow Providers

No response

Deployment

Astronomer

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

Activity

  1. amoghrajesh commented on Oct 31, 2025

    @amoghrajesh
    Contributor

    If you arrive fresh at the page, this should not be an issue, but it probably could be an issue if you transitioned from somewhere with map_index = -1 (unmapped task)?

  2. shri-astro commented on Nov 3, 2025

    @shri-astro
    Author

    If you arrive fresh at the page, this should not be an issue, but it probably could be an issue if you transitioned from somewhere with map_index = -1 (unmapped task)?

    I’m getting this error only on navigating to the task from the overview page even from fresh page. The instances of mapped tasks are accessible if I navigate from task instances.
    Attaching zip file of screen recording of navigation:

    mapped task.mov.zip

  3. pierrejeambrun commented on Dec 4, 2025

    @pierrejeambrun
    Member

    I will open a PR for this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions