kevinhongzl commented on PR #51055:
URL: https://github.com/apache/airflow/pull/51055#issuecomment-2919667730

   > Yeah. It confused me as well, but that's how our api currently works.
   > 
   > The test connection API returns `200` with a boolean status, `true` for 
successfully creating a connection and `false` for connection error. However, 
there are also `401`, `403`, and `422` responses.... I can't figure out how 
this was designed from the docs, so I simply present information retrieved from 
the api with toasters.
   > 
   > 
https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/test_connection
   > 
   > I need some hints or suggestions on how to deal with this.
   
   @pierrejeambrun Eventually I removed the toasts which can be misleading for 
now. I'd like to help if we have further discussions and follow-up issues!
   


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