Skip to content

[GOWS] [Chatwoot] - Creating empty conversation when a contact migrates whatsapp number #1525

@gkp1

Description

@gkp1

Describe the bug

Empty conversations (no messages) created for random contacts, this happens sort of rarely, chatwoot just says 'new message' in the conversation list, but no messages were received. (when clicked chatwoot just shows a perma loading)

I noticed while writing the issue that one contact migrated their whatsapp number (whatsapp says 'This contact migrated their whatsapp account to 11111, click here to save the new contact" and apparently this triggered the message upsert event creating a chatwoot conversation.

However, the other 2 contacts did not migrate their whatsapp accounts or at least i did not receive any warning in the app, so idk why this happened to them.

Context:

  1. None of those contacts have any previous conversations in chatwoot, I connected this account to WAHA+Chatwoot yesterday
  2. trying to open the conversations loads eternally since no message was actually received
  3. They didn't post any stories either

As you can see here, the contacts with their name appearing, did not migrate their phone numbers.
The contacts which are just a JID [email protected] did in fact migrate their phone numbers and this triggered message upsert [or other event?] for conversation creation.

Image

Version

Get the WAHA version by calling GET /api/version

{
  "version": "2025.10.3",
  "engine": "gows",
  "tier": "plus"
}

Expected behavior

Ignore event if no messages

Docker Logs

If there's some kind of event logging regarding this, not sure if any data regarding these events might be stored in waha db, I could send you if it's possible to retrieve something

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions