Closed igormorantos closed 6 months ago
Mesmo problema, porém sem entender o real motivo.... Acredito que a API esteja quebrada nessa release
la no StackOverFlow me deram essa solução, ainda naõ tive tempo de testar, mas disseram que resolve:
New Release: npm i venom-bot@5.1.0
We have support for Venom for just $15 per month, if you are interested, call our support via the link: https://web.whatsapp.com/send?phone=5561985290357
In the code below I'm trying to send a PDF, it's giving me the following error
app.post('/send-pdf',[ body('number').notEmpty(), ], async (req, res) => { const errors = validationResult(req).formatWith(({ msg }) => { return msg })
}
Error to processFiles, it's a pdf it's working, the file is in this path 'D:portifa/venom/curso.pdf', but for some reason it's not being able to process, and I couldn't find a possible solution anywhere(I've tried to insert the path, in different ways), I was able to send buttons and messages on other routes.
Does anyone know how to solve it?