pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
14.53k stars 3.46k forks source link

I am not able to download the file #2072

Closed Andre-Luiz-Braatz closed 7 months ago

Andre-Luiz-Braatz commented 1 year ago

Is there an existing issue for this?

Describe the bug

This rarely happens, but I need to leave it working 100%, I try to download the file and the error.

If I take the url and try to access it, I get this error: Unable to access this site The https://mmg.wha....=true page may be temporarily unavailable or may have been permanently moved to a new web address. ERR_INVALID_RESPONSE

Expected behavior

manage to download the file

Steps to Reproduce the Bug or Issue

let chat = window.Store.Chat.get(serialized.trim()); let msgs = chat.msgs.getModelsArray(); let msg = msgs[4]; msg.downloadMedia().then((m) => console.log("result: ", m));

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Mac

Additional context

No response

JDMLISY commented 1 year ago

hola Ya lo solucionaste ?

Andre-Luiz-Braatz commented 1 year ago

hello, yes!