GeezerVison is showing github.com — [Bug]: First message to a brand-new contact sometimes never arrives (track this here) · Issue #830 · rmyndharis/OpenWA
[Bug]: First message to a brand-new contact sometimes never arrives (track this here) #830DescriptionWhat this issue is
A single, recurring symptom reported across several discussions, issues, and community reports. We're using this issue as the canonical place to collect reproducible cases and to track anything we can do on our side to soften it.
⚠️ This is partly outside OpenWA's control — see Why this can happen below. Please read that section before assuming it's a code bug we can just fix.
The symptom
- You send a message through OpenWA to a phone number you've never messaged before (no prior conversation on either side).
- The OpenWA API returns success — you get a
messageId and a 200/201.
- But the message never arrives on the recipient's phone. Nothing in their chat with you.
- Existing conversations (numbers you've talked to before) work fine.
- Once the recipient messages you first — even once — sends to that number start working normally.
This has been reported with both engines (whatsapp-web.js and baileys), which is why we're tracking it in one place.
Why this can happen
WhatsApp can restrict first-contact sends, and an API success response does not confirm delivery to the recipient. Some restrictions are observable through Baileys reachout-timelock updates or negative acknowledgements such as error 463. Identity resolution and privacy-token handling can also affect delivery, so this issue does not assign one cause to every report.
The upstream investigation tracks the reachout and token behavior. Proposed cstoken support remains open and unmerged. Neither establishes a fix for every silent-delivery case reported here.
What we are doing about it
The following support is available; none of it guarantees first-contact delivery:
What we need from you (help wanted)
If you're hitting this and want to help us narrow it down, please post a runnable repro with the following, in this exact issue (don't open a new one unless a maintainer asks):
- OpenWA version: (output of `cat package.json | jq .version`, or image tag)
- Engine: whatsapp-web.js | baileys
- Hosting: home / VPS provider / k8s / cloud (please name it)
- IP type: residential | datacenter | mobile
- Account age: < 1 day | < 1 week | < 1 month | > 1 month
- Recipient: saved in your contacts? y/n ; has ever replied to you? y/n
- Volume just before: how many sends in the previous hour/day?
- Proxy configured? y/n ; if yes, what type
- Recipient phone OS: Android | iOS | KaiOS | unknown
Steps:
1. ...
2. ...
Actual:
- API returned: <paste the JSON response>
- Recipient saw: <nothing | message arrived after N minutes | arrived only after they replied>
Expected:
- Message arrives on the recipient's phone within seconds.
The single most useful piece of evidence: a cold-send that succeeds when run from a residential IP and fails from a datacenter IP (or vice versa). That isolates whether it's account-trust-driven or network-driven for your case.
What this issue is not
Related discussions
ActivityAbodysoma2021 commented on Jul 25, 2026 rmyndharis commented on Oct 3, 2026 Nothing has changed for the underlying case: on v0.24.0 a cold first send that WhatsApp's reach-out policy declines still returns 201 and still never arrives, and no release since this issue was opened changes that. The v0.24.0 work closest to it is send-pacing accounting (the cold-reachout cap) and lid-to-phone identity resolution; neither touches a decision that happens on WhatsApp's side, after the message has left the gateway. That is why this stays upstream-blocked: no OpenWA or engine code sees the decision.
The mitigations listed upthread have shipped: recipient pre-validation on GET /api/sessions/{sessionId}/contacts/check/{number}, so you can fail loud on a number that is not on WhatsApp; the engine capability matrix (docs/29-engine-capability-matrix.md); and the README's safe-sending guidance, including SEND_PACING_COLD_DAILY_CAP to keep cold sends inside a rising daily allowance. The engine pins are unchanged: Baileys 7.0.0-rc14, whatsapp-web.js 1.34.7.
What to watch is first-contact reliability work in Baileys. If you are hitting this, the repro template in the issue body is still what we need, above all a cold send that succeeds from a residential IP and fails from a datacenter one. rmyndharis commented on Oct 19, 2026 One correction to my earlier explanation: some WhatsApp restrictions are observable. Baileys exposes reachout-timelock updates and negative acknowledgements such as error 463, and OpenWA already handles the account restriction state. The upstream investigation also describes missing privacy tokens as a possible contributor; the proposed cstoken support remains open and unmerged.
This does not establish a fix or a single cause for the original silent-delivery case, so the issue stays open. For a current reproduction, please include the environment details above, the API response and message ID, subsequent receipt or error logs, and any reported account restriction state. That evidence can help distinguish an identity or token problem from account enforcement. rmyndharis commented on Oct 29, 2026 Closing this as not planned. My last comment said it would stay open; that changes because the thread has received no reproduction since July, and every part OpenWA controls has shipped:
- recipient pre-validation on
GET /api/sessions/{sessionId}/contacts/check/{number};
- the cold-reachout daily cap,
SEND_PACING_COLD_DAILY_CAP;
- the README known-limitations entry, which states that a success response means the message left the gateway, not that it was delivered.
What remains is WhatsApp's reach-out policy and upstream Baileys work: WhiskeySockets/Baileys#2441, and the cstoken support proposed in WhiskeySockets/Baileys#2438, still unmerged. A reproduction with the details from the issue body, or an upstream change that lands, belongs in a new issue that links here.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|