whatsapp-http-api
whatsapp-http-api copied to clipboard
[BUG][WEBJS] - api/sendImage to Channel issue
Some of the requests fail when hitting api/sendImage
to send image to a whatsapp channel.
Version
{
"version": "2024.8.3",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/chromium"
}
Logs
[06:29:16.423] INFO (30): request errored {"reqId":1482,"req":{"id":1482,"method":"POST","url":"/api/sendImage","query":{},"params":{"0":"api/sendImage"}},"res":{"statusCode":500},"responseTime":571}
err: {
"type": "Error",
"message": "Evaluation failed: b",
"stack":
Error: Evaluation failed: b
at ExecutionContext._ExecutionContext_evaluate (/app/node_modules/whatsapp-web.js/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 (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
at async WebjsClient.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:952:25)
}