Not sending messages while no errors
See original GitHub issueDescription
client.sendText(phone, message) not responding neither with then() nor with catch()
Environment
- Venom version(s): 4.0.5
- Browser: default Chrome
- OS: MacOS (latest) and Ubuntu
- Node version: 17.5
Steps to Reproduce
- Create Client with multi-device option
- Authorization works fine
- Try to sendText
- Get no response (success or error)
Log Output
No log output after sending this command.
Your Code
client.sendText(phone, message)
.then((result) => {
console.log(session, result)
sendWebhook(sessionName, 'message', true)
})
.catch((error) => {
console.log(error)
})
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Top 6 Ways to Fix Message Not Sent Error on Android
Top 6 Ways to Fix Message Not Sent Error on Android · 1. Check SIM/Account Balance · 2. Enable Airplane Mode · 3....
Read more >Fix problems sending, receiving or connecting to Messages
Fix problems sending or receiving messages from specific contacts · Delete the contact and add it again. · Check if you blocked them....
Read more >Text Messages Not Sending on Android? Quick Solutions Here
If you are looking for ways to fix cannot send text messages on android issue, you are coming to the right place.
Read more >How to fix 'Message not sent' error on Android - Nerds Chalk
15 Fixes You Should Try · Check the delivery report of the message · Copy and resend the message again · Verify that...
Read more >9 Ways to Fix Message Not Sent Error on Android - TechCult
You may get a message not sent error when you send the message on a wrong or invalid number. Therefore, before you send...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yalzeee I am talking about wppconnect (it’s almost the same as Venom). I just temporarily replaced venom with wppconnect. To create the instance of wppconnect I followed the docs:
wpp.create({ session: ‘my-session’, puppeteerOptions: { userDataDir: './tokens/' + session.name, }, whatsappVersion: '2.2204.13', // and all other options that you may already use in venom })
@jonalan7 is this issue fixed? Sorry, unsure why this is closed. Thank you for your help!