Hey guys !! Can any one please help me using appwrite cloud functions. Actually migrating my whatsapp msg api from render to appwrite functions and everytime i run it getting this err:-
TypeScript
at execute (/usr/local/server/src/server.js:159:28)
at action (/usr/local/server/src/server.js:174:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /usr/local/server/src/server.js:10:9```
for testing purpose even / which return Hello World is also giving the same err
TL;DR
Developers are seeking help with using Appwrite cloud functions. They are encountering a TypeError: userFunction is not a function when trying to run their code. The solution may involve ensuring the function is in the correct format and verifying the version compatibility. They are advised to refer to the documentation for proper function writing instructions.this happens if your function isn't in the right format...did this function exist before or after 1.4?
I just added it today not sure about the version π
then please refer to the docs for how to write your function: https://appwrite.io/docs/products/functions/development
@Steven Okay thanks !!
Recommended threads
- Build failed
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
- Other DateTime Columns Are Saved Incorre...
When opening a rowβs details from the console and editing any field, the timestamps of other DateTime columns are being automatically changed and incorrectly sa...
- Invalid Origin. Register your new client...