Skip to content
New issue

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

INFO - Message sent to number but it no longer arrives to WA #83

Open
george72 opened this issue May 25, 2023 · 4 comments
Open

INFO - Message sent to number but it no longer arrives to WA #83

george72 opened this issue May 25, 2023 · 4 comments

Comments

@george72
Copy link

george72 commented May 25, 2023

Just started testing heyoo/wa yesterday to send me text messages and it worked but today log shows message was sent succesfully but the message never arrived WA.
I had to renew token in Could API (token error was in the log but still message say it was sent succesfully but it wasn't. Even after renewing and using new temporary token it does not work. Sending a message directly from Meta works. Sending a message from heyoo says it was sent but it did not arrive to my WA.

2023-05-24 21:26:53,328 - root - INFO - Sending message to 520000000000
2023-05-24 21:26:54,132 - root - INFO - Message sent to 520000000000

Using Fedora 38, Python 3.10.11, heyoo 0.0.9

@filipporomani
Copy link
Contributor

This is a duplicate.

Please refer to this comment on #40

@filipporomani
Copy link
Contributor

To explain a bit more, a message is not received by the user in the following 2 conditions:

  • the message isn't an approved template message
    OR
  • the user didn't send a message to your business phone number in the past 24 hours.

You can fix this issue in 2 ways:

  • sending a template instead of a custom message (remember that you can use variables in templates)
  • sending a message to you business phone number and then sending as many messages as you want.

I personally suggest you to use templates, as no user interaction is needed.

@george72
Copy link
Author

If user send a message to my business phone, all messages arrives to the user. I will try templates too as it does not requires user interaction.

However when message was not received I did not get any error message, in fact I got a success message. It would be great to get an error instead of a success when messages were not arriving.

@filipporomani
Copy link
Contributor

I don't think that an error is given with the current API version (14). I alr opened a PR to switch to v17 (latest), but I'm still not sure it gives an error tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants