Back

[SOLVED] Something weird happening on Function

  • 1
  • Flutter
  • Functions
  • Cloud
Mosh Ontong
21 Sep, 2023, 16:07

I got a failed execution (the function is executed by event when creating new user or new session) ,

But base on my logs

TypeScript
Event type is not sessions
Creating document by name Asnawe Banto
Document created successfully

And base on my error:

TypeScript
Execution timed out.

The result must be successfull not error

TL;DR
The user discovered that a function was not returning the expected result and was causing an error. They realized that they forgot to use the return keyword in the function. By including the return keyword, the function executed successfully without any errors. The issue has been solved.
Mosh Ontong
21 Sep, 2023, 16:17

ohhh my fault, It needs to call the return keyword here

Mosh Ontong
21 Sep, 2023, 16:18

[SOLVED] Something weird happening on Function

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