Describe the bug
We tried to send a reply to previous message and it did not work, we had to send it as non reply normal message.
This issue happens randomly.
{"statusCode":500,"timestamp":"2024-02-08T09:37:16.603Z","exception":{"stack":"Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'unsafe')\n at window.WWebJS.sendMessage (__puppeteer_evaluation_script__:38:67)\n at __puppeteer_evaluation_script__:10:45\n at ExecutionContext._evaluateInternal (/app/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async ExecutionContext.evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)\n at async Client.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:916:28)\n at async /app/node_modules/@nestjs/core/router/router-execution-context.js:46:28\n at async /app/node_modules/@nestjs/core/router/router-proxy.js:9:17","message":"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'unsafe')\n at window.WWebJS.sendMessage (__puppeteer_evaluation_script__:38:67)\n at __puppeteer_evaluation_script__:10:45","name":"Error"},"request":{"path":"/api/reply","method":"POST","body":{"chatId":"9725266XXXXX@c.us","session":"60609","type":"text","text":"עכשיו?","reply_to":"true_9725266XXXXX@c.us_3EB0AA2E56A9343911BC28"},"query":{}},"version":{"version":"2024.1.1","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/chromium"}}
Docker Logs
I have attached the docker logs in response above.
Additional context
Message were resent as normal message but those were delivered, if I reply them as quoted message then they do not deliver and throw error above.
Describe the bug We tried to send a reply to previous message and it did not work, we had to send it as non reply normal message. This issue happens randomly.
Version
To Reproduce Steps to reproduce the behavior:
Expected behavior
It should have been sent as a separate reply message but it fails.
Engine I'm using WEBJS engine.
Requests - Responses
Docker Logs
Additional context
Message were resent as normal message but those were delivered, if I reply them as quoted message then they do not deliver and throw error above.