We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I am testing with sending about 13-20 image to baileys client, ı got receive 403 for some media downloads
To Reproduce Steps to reproduce the behavior:
Expected behavior download and access all media
` conn.ev.on("messages.upsert", async msg => { try { if (msg.type === "notify") {
for (const m of msg.messages) { var full_file_name = null const messageType = Object.keys (m.message)[0] if (messageType !== 'conversation') { // download the message try { const buffer = await downloadMediaMessage( m, 'buffer', { }, { _0x1dc0c3, // pass this so that baileys can request a reupload of media // that has been deleted reuploadRequest: conn.updateMediaMessage } ) }catch (e) { console.log(e.message) } const filename = "wpclientdownload_pn_" + m.key.remoteJid + "_" + m.key.id +"_"+ generateRandomString(10) const extension = m.message[messageType].mimetype.split("/") full_file_name = filename+'.'+extension[1].split(";")[0] await writeFile('./public/metocrm/'+full_file_name, buffer) } //#END - MEDIA } } } catch (e) { //console.log("ERROR",e) } });
`
output ` Request failed with status code 403 Request failed with status code 403 Request failed with status code 403
The text was updated successfully, but these errors were encountered:
Same here
Sorry, something went wrong.
@PurpShell could u help ?
Same here , I've noticed this happens mostly with PDF files.
Looking into this right this very moment
No branches or pull requests
Describe the bug
I am testing with sending about 13-20 image to baileys client, ı got receive 403 for some media downloads
To Reproduce
Steps to reproduce the behavior:
Expected behavior
download and access all media
`
conn.ev.on("messages.upsert", async msg => {
try {
if (msg.type === "notify") {
`
output
`
Request failed with status code 403
Request failed with status code 403
Request failed with status code 403
`
The text was updated successfully, but these errors were encountered: