GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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) #830

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[Bug]: First message to a brand-new contact sometimes never arrives (track this here)#830
Copy link
Labels
engine:baileysBaileys engine specifichelp wantedExtra attention is neededupstream-blockedBlocked on upstream library/WhatsApp behavior; no realistic path yet

Description

@rmyndharis
rmyndharis
opened on Jul 20, 2026
Issue body actions

What 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:

  • Recipient pre-validation through GET /api/sessions/{sessionId}/contacts/check/{number}, so callers can reject numbers that are not on WhatsApp. Related: [Feature]: Number verification before send #522, Send endpoints report 201 success for recipients not on WhatsApp (no recipient pre-validation) #738.
  • Capability / known-issues matrix in docs/29-engine-capability-matrix.md.
  • Safe-sending guidance and configurable send pacing, including SEND_PACING_COLD_DAILY_CAP.
  • Upstream first-contact reliability. OpenWA currently pins Baileys 7.0.0-rc14; this does not guarantee first-contact delivery. Continue tracking upstream work and reproducible cases.

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

  • Not a place to ask "is OpenWA safe for cold-outreach marketing at scale?" — see the README's Risk & Safe-Sending section for that conversation.
  • Not a place to ask for a way to bypass WhatsApp's policy. There isn't one, and we won't ship one.
  • Not the same as [Bug]: Cannot initiate chats #454 / [Bug]: The message isn't reaching some WhatsApp phone numbers. #368 / [Bug]: Message not received on receiver when sending bulk message on Bailey's engine #724 — those were closed as account-side / not planned; this issue supersedes them as the active tracking entry.

Related discussions

  • Switch OpenWA to Baileys v7 (currently on 6.7.23/legacy)? #666 — Baileys v7 thread (where @kikipatton reproduced this)
  • found a bug #603 — outbound to new numbers not sending until recipient replies
  • Outbound message to new numbers are not sending, on chat window its showing as sent (two ticks) #617 — same symptom, separate reporter
  • Sync-Pause-Disconnect within minutes #487, sessions always on "authenticating" status #269 — adjacent engine-stability reports (may overlap)

Activity

  1. rmyndharis
    added
    bugSomething isn't working
    help wantedExtra attention is needed
    engine:baileysBaileys engine specific
    upstream-blockedBlocked on upstream library/WhatsApp behavior; no realistic path yet
    on Jul 20, 2026
  2. rmyndharis
    added a commit that references this issue on Jul 20, 2026

    docs(readme): add risk & safe-sending guidance section

    35b207e
  3. rmyndharis
    pinned this issue on Jul 20, 2026
  4. Abodysoma2021 commented on Jul 25, 2026

    @Abodysoma2021
    Abodysoma2021
    on Jul 25, 2026
    More actions

    Any Fixes ?

  5. rmyndharis
    removed
    bugSomething isn't working
    on Sep 4, 2026
  6. rmyndharis commented on Oct 3, 2026

    @rmyndharis
    rmyndharis
    on Oct 3, 2026
    OwnerAuthor
    More actions

    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.

  7. nourayman21k
    added a commit that references this issue on Oct 11, 2026

    docs(readme): add risk & safe-sending guidance section

    45d7b4e
  8. rmyndharis commented on Oct 19, 2026

    @rmyndharis
    rmyndharis
    on Oct 19, 2026
    OwnerAuthor
    More actions

    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.

  9. rmyndharis commented on Oct 29, 2026

    @rmyndharis
    rmyndharis
    on Oct 29, 2026
    OwnerAuthor
    More actions

    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.

  10. rmyndharis
    unpinned this issue on Oct 29, 2026
  11. rmyndharis
    closed this as not plannedon Oct 29, 2026
  12. wallacesivirino
    added a commit that references this issue on Oct 29, 2026

    docs: link Discussions from the new issue page

    af184ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    engine:baileysBaileys engine specifichelp wantedExtra attention is neededupstream-blockedBlocked on upstream library/WhatsApp behavior; no realistic path yet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.