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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...