I have a Cloud Function. Im using it as a kind of API. It gehts executed from another Service (over which I have no Control) but falls imeadiatly with the following error:
Invalid method param: Value must be one of (GET, POST, PUT, PATCH, DELETE, OPTIONS)\nError Code: 400
In the Overview, there stands „HEAD“ as Method. How can I fix that?
My Setup: Self Hosted Appwrite 1.5.1 (Dart 3.1) Runtime
I'm surprised an execution is even created because we don't support head: https://github.com/appwrite/appwrite/blob/72e00d4b432fa15c8e16d8256d5a267517b48a80/app/controllers/api/functions.php#L1513
well that is unfortunate… Is there any way arround this, or is this something, i need to diskussion with the service owner, who calls the function?
Oh I see, you're executing via the domain?
Best to talk to the service owner. You can try to create a feature request on Appwrite too
yes exactly
well thank you for your help… I will try to compact the service owner.
Recommended threads
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Python Function not working
I am getting this issue as well. Doesnt look like there was a solution as you guys were not able to replicate. Below is my code as well as the error. I started...