
I created Node 16 starter function with the cli. Deployed, added env vars to it in the console. Added a custom domain to it, both checks are green (DNS).
Exec: any
no error when run manually.
Then I call it outside of the console and it throws general_argument_invalid
.
Is there something specific about the body that I have to pass?
Thank you.
I am done trying proxy containers like funcover. Its docs are not well put together, IMO.

docker compose logs appwrite
appwrite | [Error] File: /usr/src/code/app/controllers/general.php
appwrite | [Error] Line: 67```
Okay

you added a custom domin to the function, not project?

I added a domain to .env (functions domain something). The project has no custom subdomains. The function is still reached.

wait so it looks like it's working...what's the problem?

No problem at all now. Having Functions as native webhook endpoints is awesome. .env has function endpoint set, The project does not , Each function does.

Sooo are you all good now?
Recommended threads
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
