Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forwardmessages not working on 4.71.0 - 4.71.10 #3202

Open
1 task done
roelbroersma opened this issue May 1, 2024 · 0 comments
Open
1 task done

forwardmessages not working on 4.71.0 - 4.71.10 #3202

roelbroersma opened this issue May 1, 2024 · 0 comments

Comments

@roelbroersma
Copy link

roelbroersma commented May 1, 2024

Are you using the latest version of the library?

  • I have checked and am 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

/forwardmessages is not working anymore.

To reproduce, use Swagger or use:

curl -X 'POST'
'http://XXXXXXXXXXX:8004/forwardMessages'
-H 'accept: /'
-H 'Content-Type: application/json'
-d '{
"args": [
"xxxxxxxxxx@g.us",
["false_xxxxxxxx-xxxxxxxx@g.us_xxxxxxxxxx_xxxxxxxx@c.us"],
true
]
}'

{
"success": false,
"error": {
"name": "Error",
"message": "Evaluation failed: TypeError: _0xb4442a(_0xf13f8d(...) + "BT") is not a function\n at window.. [as forwardMessages] (pptr://puppeteer_evaluation_script:1:521365)"
}
}

At the same moment, the terminal/cli gives:

middleware -> error Error: Evaluation failed: TypeError: _0xb4442a(_0xf13f8d(...
) + "BT")
is not a function
at window.. [as forwardMessages] (pptr://puppeteer_eval
uation_script
:1:521365)
at ExecutionContext._ExecutionContext_evaluate (/usr/src/app/node_modules/pup
peteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:258:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/usr/src/app/node_modules/puppeteer-core/
lib/cjs/puppeteer/common/ExecutionContext.js:146:16)

Expected Behavior

Expected would be:

{
"success": true
}

Steps To Reproduce

Use swagger (see current behavior)

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

Debug info: {                                                                  
  "WA_VERSION": "2.3000.1013182127",                                             
  "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",          
  "WA_AUTOMATE_VERSION": "4.71.10",                                              
  "BROWSER_VERSION": "HeadlessChrome/124.0.6367.60",                             
  "OS": "Linux 4.4",                                                             
  "START_TS": 1714586244750,                                                     
  "RAM_INFO": "Total: 67.40 GB | Free: 47.63 GB",                                
  "PPTR_VERSION": "19.11.1"                                                      
}

Environment

- OS: Docker container, running on latest Synology DSM.
- Node: 21.7.3
- YARN_VERSION: 1.22.9

Screenshots/Logs

No response

Anything else?

Also happens these versions:
4.71.6
4.71.4
4.71.3
4.71.2
4.71.1
4.71.0
(other 4.71.x versions were not tested, but probably the same issue)

I also tested the /ghostforward option, that one does work.

@roelbroersma roelbroersma changed the title forwardmessages not working on 4.71.10 forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4) May 6, 2024
@roelbroersma roelbroersma changed the title forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4) forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4 & 4.71.3) May 6, 2024
@roelbroersma roelbroersma changed the title forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4 & 4.71.3) forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4) May 6, 2024
@roelbroersma roelbroersma changed the title forwardmessages not working on 4.71.10 (and 4.71.6 & 4.71.4) forwardmessages not working on 4.71.0 - 4.71.10 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant