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.ohhh my fault, It needs to call the return keyword here
[SOLVED] Something weird happening on Function
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...