Baileys: [BUG] Error : Media upload failed on all hosts

How to solve this error ?

Error when send pdf 11mb

image

await sessionList.sendMessage(targetId, {
          document: fs.readFileSync(fileName),
          fileName: fileName.split('/').splice(-1),
          mimetype: mime_type
        });

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17

Most upvoted comments

same 😦

same problem any solution?

I have the same issue when sending audio messages; it’s an intermittent error. I’ve tried various configurations, but it seems to be related to the audio in question. It’s a serious problem that makes using Baileys impractical.

Same problem any solution

Same problem here