
Hi, I have a function that needs triggering when a document is created inside of a particular collection. how do I listen for the creation and trigger the function?

I have deployed the function and if I set an event trigger to listen for the change, it works only once. then the event is removed

and you're not deploying it again?

what version are you on? I just tested and it looks like it stays for me...

CLI is 4.1.0

I added the event listener and tried with full admin access to any user and then tried function execution from client end and the permission roles also disappeared

so it actually gets removed when we redeploy 😭 and I have been traumatized for the last 4 hours

You'll need to make sure it's in the appwrite.json

Events and permissions

It should be everything. Make sure everything is configured in your appwrite.json
Recommended threads
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
