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

Error forward media #2629

Open
1 task done
thedeaddan opened this issue Nov 12, 2023 · 1 comment · May be fixed by #2272
Open
1 task done

Error forward media #2629

thedeaddan opened this issue Nov 12, 2023 · 1 comment · May be fixed by #2272
Labels
bug Something isn't working

Comments

@thedeaddan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Error: Evaluation failed: Error: msg is not a media msg: unknown, isGif=false
    at e (https://web.whatsapp.com/:2:4911)
    at d (https://web.whatsapp.com/app.e67a2d72126a20d99952.js:269:59011)
    at t.getMsgMediaType (https://web.whatsapp.com/app.e67a2d72126a20d99952.js:269:57045)
    at https://web.whatsapp.com/app.e67a2d72126a20d99952.js:266:657038
    at async Object.window.WWebJS.forwardMediaMessage (__puppeteer_evaluation_script__:338:9)
    at async Object.window.WWebJS.forwardMessage (__puppeteer_evaluation_script__:210:20)
    at async __puppeteer_evaluation_script__:6:20

Expected behavior

Media forwarded

Steps to Reproduce the Bug or Issue

msg.forward(chat_id);
msg - photo

Relevant Code

No response

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Debian GNU/Linux 11 (bullseye) x86_64
Phone OS: Android 13
whatsapp-web.js version: v1.23.1-alpha.0
WhatsApp Web version: 2.2347.55
NodeJS ver: 20.9.0

Additional context

No response

@thedeaddan thedeaddan added the bug Something isn't working label Nov 12, 2023
@devsakae
Copy link

Are you following this steps? https://wwebjs.dev/guide/handling-attachments.html#sending-media

If so, can you share the code?

@alechkos alechkos linked a pull request Nov 24, 2023 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants