You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/25 12:59:29 UTC

[GitHub] [airflow] ephraimbuddy opened a new issue #12616: Triggering a DAGRUN with invalid execution_date causes a ParserError in the REST API

ephraimbuddy opened a new issue #12616:
URL: https://github.com/apache/airflow/issues/12616


   Triggering a dagrun with an invalid execution date causes a ParserError in the REST API
   
   **Apache Airflow version**: 2.0
   
   **What happened**:
   When you trigger a dagrun with an invalid execution date, it returns an HTML response showing the error
   
   **What you expected to happen**:
   
   I expected a JSON response showing that the execution date is invalid
   
   **How to reproduce it**:
   
   1. Start airflow webserver and scheduler
   2. Make a post request to this endpoint `http://localhost:28080/api/v1/dags/example_bash_operator/dagRuns` with this request body `{"execution_date": "mydate"}`
   3. This will return an HTML page instead of JSON
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] mik-laj closed issue #12616: Triggering a DAGRUN with invalid execution_date causes a ParserError in the REST API

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #12616:
URL: https://github.com/apache/airflow/issues/12616


   


----------------------------------------------------------------
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.

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