Back

Function does not execute on users.\*.verification.* event

  • 0
  • Functions
  • Cloud
Tomic R.
17 Oct, 2024, 20:30

Hi!

I currently have the following problem: I want to create a function which triggers when the verification status (in my current case the emailVerificatin) of a user updates. The problem is: The function does not trigger on users.*.verification.. But it does trigger on users.. Am I using the wrong event for my use case? If so, what event should I use to not trigger the function on any user event? You can see what I mean in the video. I currently do not care that execution raises an error, I only care about the fact that it executes.

Thank you very much in advance for your help!

TL;DR
Developers are experiencing issues with functions not executing on users.\*.verification.\* event in Appwrite. It works when signing up in the app and calling email verification from the SDK, but not when updating in the Appwrite console. The solution proposed is to try using `users.*.verification.*.create` and `users.*.verification.*.update`. If it still doesn't work, developers are unsure of the correct event to use. Thank you for your help.
Tomic R.
18 Oct, 2024, 11:42

Function does not execute on users..verification.* event

Tomic R.
26 Oct, 2024, 06:49

Can anyone please help me with this issue? What is the correct event I need???

darShan
26 Oct, 2024, 06:54

does it work if you do - users.*.verification.*.create and users.*.verification.*.update

Tomic R.
26 Oct, 2024, 07:10

No, it does not sadly.

Tomic R.
26 Oct, 2024, 07:16

Okay, so...

Tomic R.
26 Oct, 2024, 07:16

It does work with users..verification.*.create and the same for update, BUT

Tomic R.
26 Oct, 2024, 07:17

It works when like actually signing up in the app and calling email verification from the sdk

Tomic R.
26 Oct, 2024, 07:17

But it does not work when updating the verification in appwrite console

Tomic R.
26 Oct, 2024, 07:17

It's not a problem for me, I just need it to work for clients, but I think this is a bug, right?

darShan
26 Oct, 2024, 07:24

Can you create an issue on GitHub if one doesn't exist already?

Tomic R.
26 Oct, 2024, 07:26

Will do that

Tomic R.
26 Oct, 2024, 07:32
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more