fritz-astronomer opened a new issue, #26424:
URL: https://github.com/apache/airflow/issues/26424

   ### Apache Airflow version
   
   2.3.4
   
   ### What happened
   
   
https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_task_instances_batch
   fails with an error with wildcards while
   
https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_task_instances
 
   succeeds with wildcards
   
   Error:
   ```
   400
   "None is not of type 'object'"
   ```
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   1) `astro dev init`
   2) `astro dev start`
   3)
   ```
   import requests
   host = "http://localhost:8080/api/v1";
   kwargs = {
       'auth': ('admin', 'admin'),
       'headers': {'content-type': 'application/json'}
   }
   r = requests.post(f'{host}/dags/~/dagRuns/~/taskInstances/list', **kwargs, 
timeout=10)
   print(r.url, r.text)
   ```
   
   output
   ```
   http://localhost:8080/api/v1/dags/~/dagRuns/~/taskInstances/list 
   {
     "detail": "None is not of type 'object'",
     "status": 400,
     "title": "Bad Request",
     "type": 
"http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/latest/stable-rest-api-ref.html#section/Errors/BadRequest";
   }
   ```
   
   ### Operating System
   
   Debian
   
   ### 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
   
   - [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