Back

Getting Err in Appwrite Functions

  • 0
  • Functions
Akash Srinivasan
11 Mar, 2024, 08:35

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

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```
TL;DR
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.
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