waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS] - 2026.7.2 does not populate WhatsApp JID (@c.us) for most incoming contacts

Open grupomomo opened this issue 3 months ago • 7 comments

I'm opening this issue as requested in the support group.

I'm using WAHA GOWS integrated with Chatwoot.

I understand that LID is now the primary WhatsApp identifier, and I have read the Contacts documentation.

However, I was informed in the support group that the JID should still be present in the payload.

Current behavior

After upgrading to GOWS 2026.7.2, most incoming contacts only contain the LID.

In Chatwoot I can see:

  • WhatsApp Chat ID = xxxxxxxxx@lid
  • WhatsApp LID = xxxxxxxxx@lid
  • WhatsApp JID = empty

Because of this, Chatwoot cannot identify the customer's phone number correctly.

Comparison

If I downgrade back to GOWS 2026.6.2, without changing anything else (same WAHA configuration, same Chatwoot configuration, same integration, and the same WhatsApp account), the JID (@c.us) is populated again for all incoming contacts.

This allows Chatwoot to identify the customer's phone number normally.

The only change is the WAHA version:

  • GOWS 2026.6.2 → JID (@c.us) is returned correctly.
  • GOWS 2026.7.2 → Most incoming contacts only contain the LID, and the JID is not populated.

Expected behavior

If WAHA already knows the mapping between the LID and the phone number, I would expect the JID (@c.us) to also be included in the webhook payload, allowing the native Chatwoot integration to identify the contact correctly, as it does in GOWS 2026.6.2.

grupomomo avatar Aug 03 '26 15:08 grupomomo

+1

patron:PLUS

m0d02x avatar Aug 03 '26 16:08 m0d02x

Image

grupomomo avatar Aug 03 '26 18:08 grupomomo

I am experiencing what appears to be the same issue with the following endpoint:

GET /api/contacts/check-exists?phone={phone}&session={session}

Before upgrading, the chatId returned by this endpoint contained the customer's actual WhatsApp number using the @c.us format.

For example:

[email protected]

After upgrading to GOWS 2026.7.2, the same endpoint started returning an LID in the chatId field:

xxxxxxxxxxxxxxx@lid

My application previously used the numeric part of chatId as the validated customer's phone number. With the LID being returned instead, it is no longer possible to reliably determine the actual phone number from the response.

This behavior worked as expected in GOWS 2026.6.2.

Expected behavior:

  • chatId should continue returning the JID in the @c.us format; or
  • the response should provide a separate field containing the actual phone-number JID and the LID-to-JID mapping.

Therefore, this issue does not seem to affect only incoming webhook payloads or the Chatwoot integration. It also affects the /api/contacts/check-exists endpoint and applications that rely on it to validate and retrieve the customer's WhatsApp phone number.

patron:PLUS

trojantm avatar Aug 05 '26 00:08 trojantm

+1

patron:PLUS

trojantm avatar Aug 05 '26 00:08 trojantm

Let's try dev image 🤞🏻

Make sure to select the engine via the environment variable - WHATSAPP_DEFAULT_ENGINE=WEBJS|GOWS|NOWEB:

  • devlikeapro/waha:dev
  • devlikeapro/waha:dev-chrome
  • devlikeapro/waha:dev-arm

🚀 Will be included in the next release!

patron:PRO

devlikepro avatar Aug 05 '26 09:08 devlikepro

2026.8.1 - populate the WhatsApp JID attribute for @lid contacts from the message payload - #2208

patron:PRO

devlikepro avatar Aug 14 '26 12:08 devlikepro

2026.8.2 - match existing contacts by resolved phone number for @lid chats and backfill missing phone_number - #2208

patron:PRO

devlikepro avatar Sep 01 '26 09:09 devlikepro