open-wa / wa-automate-nodejs

πŸ’¬ πŸ€– The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.05k stars 588 forks source link

await Client.forwardMessages('aChatId@g.us',message.id) returns error: [TypeError]: _0x5cfd3f[("Nlo" + "jX")](...) is not a function #3208

Closed TVARecordings closed 1 month ago

TVARecordings commented 1 month ago

Are you using the latest version of the library?

What type of session are you experiencing this issue on?

Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag

What type of host account are you experiencing this issue on?

Business account

Mode

EASY API/CLI

Current Behavior

Forwarding messages is not working.

Error output:

Error [TypeError]: _0x5cfd3f("Nlo" + "jX") is not a function at window.. (evaluate at E:\AmecaCore\node_modules\@open-wa\wa-automate\dist\controllers\patch_manager.js:127:50, :0:524852) at #evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:222:56) at async ExecutionContext.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:117:16) at async IsolatedWorld.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:124:16) at async CdpFrame.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:342:20) at async CdpPage.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:828:20)

Code: await Client.forwardMessages('aChatIdHere@g.us',message.id)

Expected Behavior

Expected it to forward.

Steps To Reproduce

await Client.forwardMessages('aChatIdHere@g.us',message.id)

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
  "WA_VERSION": "2.3000.1013449566",
  "WA_AUTOMATE_VERSION": "4.71.9 UPDATE AVAILABLE: 4.71.10",
  "BROWSER_VERSION": "Chrome/124.0.6367.119",
  "START_TS": 1715453973954,
  "RAM_INFO": "Total: 68.62 GB | Free: 48.39 GB",
  "PPTR_VERSION": "19.11.1",
  "LATEST_VERSION": false,
  "CLI": false,
  "PATCH_HASH": "CACHED-13180",
  "LAUNCH_TIME_MS": 6804,
  "ACC_TYPE": "BUSINESS",
  "chats": 102,
  "messages": 114,
  "contacts": 2433,
  "isBiz": true,
  "isMd": true,
  "INSTANCE_ID": "1f6de42f-7816-43af-ba42-354b363cb1fe"
}

Environment

- OS: Windows 10
- Node: 20.11.1
- npm: 10.2.4

Screenshots/Logs

No response

Anything else?

No response

smashah commented 1 month ago

should be fixed

smashah commented 1 month ago

restart and try again