SamWheating commented on issue #30028:
URL: https://github.com/apache/airflow/issues/30028#issuecomment-1466497591

   Tested https://github.com/apache/airflow/pull/29860 in breeze after pulling 
the 2.5.2rc1 tag, looks like it works as expected.
   
   Tried to create a DAGRun from an inactive DAG, and got a 404 rather than a 
500:
   ```
   curl -X POST 
localhost:8080/api/v1/dags/data_warehouse_dag_o259owoo3s/dagRuns -d 
'{"dag_run_id":"string2","logical_date":"2019-08-24T14:15:24Z","execution_date":"2019-08-24T14:15:24Z","conf":{},"note":"strings"}'
  -H 'Content-Type: application/json'
   
   {
     "detail": "DAG with dag_id: 'data_warehouse_dag_o259owoo3s' not found",
     "status": 404,
     "title": "DAG not found", 
     "type": 
"https://airflow.apache.org/docs/apache-airflow/2.5.2/stable-rest-api-ref.html#section/Errors/NotFound";
                       
   }


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