Error to chat with channels #1870
bastostiago
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It returns an empty string ("") when sending messages to channels.
When you try to retrieve all channels, an error is thrown:
{ "statusCode": 500, "timestamp": "2026-01-29T12:17:38.761Z", "exception": { "message": "Cannot read properties of undefined (reading 'getModelsArray')", "name": "TypeError", "stack": "TypeError: Cannot read properties of undefined (reading 'getModelsArray')\n at window.WWebJS.getChannels (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), <anonymous>:634:59)\n at evaluate (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), <anonymous>:1:39)\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 WebjsClientCore.getChannels (/app/node_modules/whatsapp-web.js/src/Client.js:1191:26)\n at async WhatsappSessionWebJSCore.channelsList (/app/dist/core/engines/webjs/session.webjs.core.js:886:22)\n at async descriptor.value (/app/dist/core/abc/activity.js:9:20)" }, "request": { "path": "/api/default/channels", "method": "GET", "query": {} }, "version": { "version": "2026.1.5", "engine": "WEBJS", "tier": "CORE", "browser": "/usr/bin/chromium", "platform": "linux/x64", "worker": { "id": null } } }Beta Was this translation helpful? Give feedback.
All reactions