whatsapp-api-nodejs
whatsapp-api-nodejs copied to clipboard
Crashing error after initializing
I get this when I initialize an instance that is already active.
{"level":50,"time":1662837474317,"pid":22,"hostname":"4dec5e4c-b299-4856-bdfc-60d5eb891e07","err":{"type":"TypeError","message":"Cannot read properties of null (reading 'chat')","stack":"TypeError: Cannot read properties of null (reading 'chat')\n at WhatsAppInstance.getChat (/app/src/api/class/instance.js:1078:32)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async WhatsAppInstance.SendWebhook (/app/src/api/class/instance.js:113:24)\n at async EventEmitter.<anonymous> (/app/src/api/class/instance.js:506:17)"},"msg":"Cannot read properties of null (reading 'chat')"}
This keeps happening all the time.
@tinyCoder32 use are using this for bulk messaging ?
No, just sending a verification code from a login page.
On 18 Sep 2022, at 7:07 AM, sairmali @.***> wrote:
@tinyCoder32 use are using this for bulk messaging ?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
your npm and node version ?
Latest, I'm deploying to Heroku.