Send message error: server returned error 403
Opened this issue · 4 comments
Bug Report: Error 403 when sending messages to specific numbers
Version: whatsmeow v0.0.0-20241011190419-de8326a9d38d
Description:
I've been running whatsmeow
successfully for over a year, but starting yesterday, I'm encountering an issue when sending TEXT messages to a few specific numbers. The message sends successfully after retrying 1-2 hours later, but fails consistently when first attempted. I can send messages to these numbers directly via WhatsApp without any issues.
Steps to Reproduce:
- Attempt to send a TEXT message to certain numbers via
whatsmeow
. - The message fails with a
403
error. - After 1-2 hours, retrying the same message works successfully.
Expected Behavior:
Messages should send to these numbers without returning a 403
error.
Actual Behavior:
Messages fail to send and return the following error logs:
time=“2024-10-24T09:31:43.219189986Z” level=info msg=“09:31:43.219 [Client XXXXXXXX/Recv DEBUG] ”
time=“2024-10-24T09:31:43.219242726Z” level=error msg=“Send message error: server returned error 403”
time=“2024-10-24T09:31:43.219255436Z” level=error msg=“Failed to send message or file: server returned error 403”
time=“2024-10-24T09:31:58.939084929Z” level=info msg=“09:31:58.939 [Client XXXXXXXXX/Recv DEBUG] ”
time=“2024-10-24T09:31:58.939135969Z” level=error msg=“Send message error: server returned error 403”
Additional Information:
- The affected numbers can be contacted directly via WhatsApp without any issue.
- Retrying the message after 1-2 hours sometimes resolves the issue.
- No changes have been made to the system or setup recently.
Has anyone experienced similar behavior, and are there any known workarounds or fixes for this issue?
403 i get this when I am blocked from the user
@floodwm are there different types of being blocked? It seems for some blocked users the sending of a message goes through.
@floodwm are there different types of being blocked? It seems for some blocked users the sending of a message goes through
To be honest, I don't know, I'm guided by the fact that if I get 403, then I'm blocked from the client
For me its different. Had one number with around 800 receivers for a mass message and around 100 blocked this number - message gets only marked as sent. No 403 errors, so it has to be something different.