Skip to content

Skipped task logs issues an error fetching logs #54749

Closed

Description

@shri-astro

Apache Airflow version

3.0.4

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

No response

What happened?

For a task skipped due to an upstream task failure, the Task logs section issues an error as "0 ERROR -Error fetching the logs. Try number 0 is invalid.

Image

What you think should happen instead?

Error message should not be received.
Screenshot shows the behavior in earlier Airflow 3 versions

Image

How to reproduce

  1. Deploy dags with failing upstream tasks
  2. Trigger dag run and check the skipped task logs in the downstream tasks

Operating System

os

Versions of Apache Airflow Providers

No response

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

Activity

  1. added
    kind:bug
    needs-triage
    on Aug 20, 2025
  2. boring-cyborg commented on Aug 20, 2025

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  3. added
    area:UI
    on Aug 20, 2025
  4. Prasanth345 commented on Aug 21, 2025

    @Prasanth345
    Contributor

    I would like to work on this issue. Please assign it to me.

  5. removed
    needs-triage
    on Aug 21, 2025
  6. added
    affected_version:3.0
    on Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affected_version:3.0area:UIarea:corearea:loggingkind:bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions