Akash SrinivasanOriginal post
Rank 2: Process
Hey guys !! Actually I was migrating an api from render to appwrite functions (whatsapp-web.js api has /message to send messages to a phone number)
it was working fine in render but giving this err in appwrite
NOTE:- This doesn't seem to be due to my code as I don't have server.js file
Plain text
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```Summary
Developers are getting a "TypeError: userFunction is not a function" error when using WhatsApp API in Appwrite functions, despite it working fine in Render. The error seems to be originating from the server.js file in Appwrite.