question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some contacts are not receiving pdf files

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When sending pdf files to some contacts who use a different application of WhatsApp, such as GBWhatsApp, the file cannot be received. While the file is being sent via whatsapp web browser, the file is being received

WhatsApp Image 2022-12-16 at 9 45 01 AM

Expected behavior

Messages are not being received by some of contacts

Steps to Reproduce the Bug or Issue

1- Send pdf messages via MessageMedia 2- The file is sent correctly, and the files are received by people who use the original WhatsApp 3- It appears to people who have another WhatsApp. File not supported message 4 - When I send the message again from the sender’s phone or send the file via WhatsApp Web, the file is received by them

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:  Windows
Phone OS: Android
whatsapp-web.js version: 1.18.4
Node.js Version :v16.13.2

Additional context

No response

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
matriccecommented, Dec 19, 2022

this must be happening because there is a caption when a file is uploaded when using wwebjs

0reactions
PurpShellcommented, Dec 29, 2022

I sent the files without caption ,but the caption send with file name as default

we need code to know how to reproduce this issue, I think your problem is with your own PDF, maybe there are some encoding issues

Read more comments on GitHub >

github_iconTop Results From Across the Web

PDF Attachments not seen by some recipients of OUTLOOK ...
We then attach the PDF file and email it to our customer. I have been getting reports that they have not received the...
Read more >
Troubleshoot viewing PDF files on the web - Adobe Support
Try to view a PDF on your hard drive · In your web browser, do one of the following: Mac OS: Choose File...
Read more >
Why Can't I Receive Any E-mail Attachments? - Computer Hope
Some companies and e-mail providers do not allow e-mail with file attachments to be sent or received by their users as a security...
Read more >
How do I send a PDF to an android user from an iPhone?
You can't send files over SMS or MMS messages unfortunately so there's no way to send a file directly from the Messages App,...
Read more >
Can't Open PDF On iPhone Or iPad, Fix - macReports
These files cannot be opened if they are corrupted. Perhaps the PDF file you could not open was not downloaded properly. You may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found