jscheffl opened a new pull request, #39409:
URL: https://github.com/apache/airflow/pull/39409

   We have noticed that if you attempt to trigger a DAG via stable API with 
invalid parameters (e.g. bad values not mathcing to model/schema, missing 
required fields) that a HTTP 500 with "Uuups" text is returned.
   
   The API endpoint did not check for ParamValidationError - which is fixed 
with this PR. Now with this PR applied a correct HTTP 400 with details is 
returned.
   
   Swagger test looks like this - but added a test on API as well:
   
![image](https://github.com/apache/airflow/assets/95105677/134a4fd2-65a1-4d89-b275-3e4e112e03bd)
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to