question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not sending messages while no errors

See original GitHub issue

Description

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

  1. Create Client with multi-device option
  2. Authorization works fine
  3. Try to sendText
  4. 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

2reactions
elasti-cocommented, Feb 19, 2022

@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 })

0reactions
r3rcommented, Feb 23, 2022

@jonalan7 is this issue fixed? Sorry, unsure why this is closed. Thank you for your help!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found