I am attempting to utilize appwrite functions, but I've noticed that the function is only triggered when performing deletion actions and not when creating new entries. Even after listening to all user events, I haven't been able to observe the function being called. I've experimented with different event patterns such as "users.", "users.create", and "users..create", but none of them seem to invoke the function when a user registers on my site. The trigger only executes when I delete a user through the appwrite panel.
I had a similar problem
Oh you recreated it? hmm strange? a bug?
[BUG] User creation trigger is not called
Not sure, maybe I'm doing something wrong
Hmmm yeah maybe? but still odd if you listen to all events it still doesnt trigger it
Seems straight forward tho but will see hopefully a dev will see this <a:happi:1107928866477064202>
User creation trigger is not called
^^^^
Are you using last version?
How are you creating your user?
I'm my case, when creating It through console or Google doesn't works
Didn't tried manually with password
If I remember correctly, there is an issue on github where creating an oauth2 session doesn't throw an users.*.create
Found it ^
Yes, but panel doesn't triggers it too
That's weird...that one definitely should...
Yeah sadly it doesn't, hope it gets fixed soon ^_^
What version of Appwrite?
Last
Weird...
so i just tested this by tailing the appwrite-worker-functions logs and then created a user in the console and this is the event that came through:
Does that means it works for you?
Theoretically, yes...
Recommended threads
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help