You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
I'm encountering an error when trying to send a message using the API. The message is actually sent successfully, but the server returns an error response, and the log shows a serialize error from getMessageModel.
Error log shown in Docker:
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'serialize')
at window.WWebJS.getMessageModel (pptr://__puppeteer_evaluation_script__:412:29)
at pptr://__puppeteer_evaluation_script__:11:34
at ExecutionContext._ExecutionContext_evaluate (/usr/src/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:229:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/usr/src/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
at async Client.sendMessage (/usr/src/app/node_modules/whatsapp-web.js/src/Client.js:950:28)
at async sendMessage (/usr/src/app/src/controllers/clientController.js:82:22)