-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the bug
We updated WAHA from version 2025.12.1 to 2025.12.2. Since then, posting an image to a WhatsApp channel returns the error in the object. Updating to latest 2026.1.1 did not solve the issue, reverting to 2025.12.1 solved it.
Version
The error probably occurs since:
{
"version": "2025.12.2",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/chromium"
}Request / Response
I could reproduce the error in the Swagger GUI, returning following response (in this case after updating to 2026.1.1):
{
"statusCode": 500,
"timestamp": "2026-01-06T10:18:51.324Z",
"exception": {
"message": "upload failed: media entry was not created\nnew Error (<anonymous>:6:31)\nwindow.WWebJS.processMediaData (pptr:evaluate;WPage.evaluate%20(%2Fapp%2Fdist%2Fcore%2Fengines%2Fwebjs%2FWPage.js%3A13%3A36):522:19)",
"name": "Error",
"stack": "Error: upload failed: media entry was not created\nnew Error (<anonymous>:6:31)\nwindow.WWebJS.processMediaData (pptr:evaluate;WPage.evaluate%20(%2Fapp%2Fdist%2Fcore%2Fengines%2Fwebjs%2FWPage.js%3A13%3A36):522:19)\n at window.WWebJS.processMediaData (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), <anonymous>:521:18)\n at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:391:56)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:818:20)\n at async WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:20)\n at async WebjsClientPlus.sendMessage (/app/node_modules/whatsapp-web.js/src/Client.js:1100:25)\n at async descriptor.value (/app/dist/core/abc/activity.js:9:20)\n at Error (:5:30)"
},
"request": {
"path": "/api/sendImage",
"method": "POST",
"body": {
"chatId": "***@newsletter",
"file": {
"mimetype": "image/jpeg",
"filename": "filename.jpg",
"url": "https://picsum.photos/200/300"
},
"reply_to": null,
"caption": "a caption",
"session": "***"
},
"query": {}
},
"version": {
"version": "2026.1.1",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/chromium",
"platform": "linux/x64"
}
}Additional context
I suppose the error comes with the update of the devlikeapro/whatsapp-web.js package in version 2025.12.2.
I see the project is a fork of pedroslopez/whatsapp-web.js and I found a similar recent issue there: pedroslopez/whatsapp-web.js#5693
I hope this helps.