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
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...