GitHub user prayaagmahajan edited a discussion: Getting 405 Method not found 
since we migrated from 2.10.3 -> 3.1.1

Hello Everyone,

I am facing an issue with my airflow code migration in which I am getting an 
405 Method not found error while doing a POST/PATCH/DELETE operation.

**Apache Airflow version**
3.0.6

**Where and How**
I have created plugins i.e REST api plugin which is connected to some service.
my service (make a POST call)-----> airflow plugin REST api --> it is returning 
an 405 method not allowed.

I am using flask_blueprint to create my rest api's and as per documentation 
this is backward compatible by installing a fab provider.
documentation link:- 
https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/plugins.html

**How to reproduce**
Install apache-airflow-providers-fab==3.0.0

set AIRFLOW__CORE__AUTH_MANAGER to 
"airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager"
fab auth_backend = airflow.providers.fab.auth_manager.api.auth.backend.session

this is my constraints.
apache-airflow-providers-fab==3.0.0

**Note**
This setup of mine was working for airflow 2.10.3

**Logs**
INFO:     10.1.10.16:23186 - "POST pipeline/airflow/dag/deploy/{Some-ID}   
HTTP/1.1" 405 Method Not Allowed

GitHub link: https://github.com/apache/airflow/discussions/58181

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to