radumas opened a new issue, #51246:
URL: https://github.com/apache/airflow/issues/51246

   ### Apache Airflow version
   
   3.0.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Have task instances with "No Status"
   
   
![Image](https://github.com/user-attachments/assets/d1bee226-8819-46c7-872b-2b394f6408b7)
   
   Click on "No Status" and receive Error 422. URL is 
`airflow/task_instances?state=no_status&start_date=2025-05-29T14%3A54%3A16.740Z`
   
   
![Image](https://github.com/user-attachments/assets/8509ecda-8300-4fd5-981c-c8b84e02f49a)
   
   Request receiving 422 is:
   
   
`/airflow/api/v2/dags/~/dagRuns/~/taskInstances?start_date_gte=2025-05-29T14:54:16.740Z&state=no_status&limit=100&offset=0&order_by=-start_date`
   
   resp: `Invalid value for state. Valid values are removed, scheduled, queued, 
running, success, restarting, failed, up_for_retry, up_for_reschedule, 
upstream_failed, skipped, deferred`
   
   
   
   ### What you think should happen instead?
   
   Should return task instances that have no state.
   
   ### How to reproduce
   
   Haven't tested on a clean install, but I think sending this request on any 
install should produce the same result?
   
   ### Operating System
   
   Red Hat Enterprise Linux 8.10 (Ootpa)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   I can post more if it feels relevant!
   
   ### Anything else?
   
   I think this happens all the time. 
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to