I found that there was few other support tickets with same topic, but neither of those seemed to solve my issue. I'm running a function when new user is created, which should create a new user into collection. Function seems to fail at point where it's trying to create document.
I've setup my local appwrite instance with direct copy of https://appwrite.io/install/compose docker-compose.yml and https://appwrite.io/install/env .env file.
I understood from previous replies, that for function run, appwrite spins up a new docker container, that runs the function. But does that container spin up inside the appwrite-stack, or just as own separate docker container?
The function template that I'm using is taken directly from appwrite functions starter templates.
Ah, I can ammend this that much, that I figured out that functions gets spin up as new outside appwrite-stack containers in docker. I wonder what kind of configurations I should perform, to allow that container to access http://localhost/v1 address?
Since on my NextJS project (which I'm running on WSL), I'm able to define appwrite-env variables with http://localhost/v1, and that's working perfectly.
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...