waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS][CHATWOOT] - Unsupported message (encrypted edit message)

Open OrionZap opened this issue 6 months ago • 16 comments

Describe the bug

When a message is edited by the user, Chatwoot receives the information that the message is not supported in this inbox.

Version

Version 2026.4.2

Screenshots

Image

Additional context

log waha

{ "jobData": { "app": "pdd", "event": { "id": "evt_01xxxxxxxx3e9ce8h2fxvbxery", "timestamp": 1778073590074, "event": "message.any", "session": "paulo_", "metadata": {}, "me": { "id": "[email protected]", "pushName": "Paulo Douglas", "lid": "xxxxxx39956515@lid", "jid": "xxxxxx96155:[email protected]" }, "payload": { "id": "false_232487083106362@lid_A58C830E919D242FBFC21BD558451A45", "timestamp": 1778073589, "from": "xxxxx3106362@lid", "fromMe": false, "source": "app", "to": null, "participant": null, "hasMedia": false, "media": null, "ack": 2, "location": null, "vCards": null, "ackName": "DEVICE", "replyTo": null, "_data": { "Info": { "Chat": "xxxxxx3106362@lid", "Sender": "xxxxxx3106362@lid", "IsFromMe": false, "IsGroup": false, "AddressingMode": "", "SenderAlt": "[email protected]", "RecipientAlt": "", "BroadcastListOwner": "", "BroadcastRecipients": null, "ID": "A5xxxxxxx242FBFC21BD558451A45", "ServerID": 0, "Type": "text", "PushName": "xxxxx e Assistência Técnica", "Timestamp": "2026-05-06T13:19:49Z", "Category": "", "Multicast": false, "MediaType": "", "Edit": "1", "MsgBotInfo": { "EditType": "", "EditTargetID": "", "EditSenderTimestampMS": "0001-01-01T00:00:00Z" }, "MsgMetaInfo": { "TargetID": "", "TargetSender": "", "TargetChat": "", "DeprecatedLIDSession": null, "ThreadMessageID": "", "ThreadMessageSenderJID": "" }, "VerifiedName": { "Certificate": { "details": "CxxxxxBBIGc21iOndhIiVFZGltYXEgVmVuZGFzIGUgQXNzaXN0w6puY2lhIFTDqWNuaWNh", "signature": "eJxxxxxxzVwv/O13NxlRoBYXmbbIB7nHy+pyISeDTEecxbYuoIFdAy30YefUp/QRqu51kVJuIuXZXjMCw==" }, "Details": { "serial": xxxxxx981782693400, "issuer": "smb:wa", "verifiedName": "Edimaq Vendas e Assistência Técnica" } }, "DeviceSentMeta": null }, "Message": { "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": "JlmxxxxRkXQ7/Aw==", "senderTimestamp": 1777561649, "recipientKeyHash": "LrNhVxxxxxx39IfZVA==", "recipientTimestamp": 1777515213 }, "deviceListMetadataVersion": 2 }, "secretEncryptedMessage": { "targetMessageKey": { "remoteJID": "1xxxxxx39956515@lid", "fromMe": true, "ID": "xxxxxxx02D4277F6E9992F60B57F7AC" }, "encPayload": "xxxxxxxxxxxUqRBT0uSpG8kXxA7MtpSi0lZRzJXXpj4/vrnNhj4qNQfY9GsREnjaiMQ+GG2+w6sJen9bdYGaITMbP7yzP0cWv8bqUHAAXJtCu5nG2hcCLvpIXmkU74L686A8xvjLaVY9GUHcth7yAp5s+ROAMSDLoKVC0arRMBujmCC7a6hNEGkml3xIrcQPgixiAmqsZ6NCXS9amLYOW83sTZRRqghXRiSEg==", "encIV": "fxxxxxxxxxtOhzPSf", "secretEncType": 2 } }, "IsEphemeral": false, "IsViewOnce": false, "IsViewOnceV2": false, "IsViewOnceV2Extension": false, "IsDocumentWithCaption": false, "IsLottieSticker": false, "IsBotInvoke": false, "IsEdit": false, "SourceWebMsg": null, "UnavailableRequestID": "", "RetryCount": 0, "NewsletterMeta": null, "RawMessage": { "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": "JlxxxxxxxxxRkXQ7/Aw==", "senderTimestamp": 1777561649, "recipientKeyHash": "Lrxxxxxxq39IfZVA==", "recipientTimestamp": 1777515213 }, "deviceListMetadataVersion": 2 }, "secretEncryptedMessage": { "targetMessageKey": { "remoteJID": "1xxxxxxxxx956515@lid", "fromMe": true, "ID": "xxxxxxxxxx9992F60B57F7AC" }, "encPayload": "xxxxxxxxlxQFtxBYXtwUqRBT0uSpG8kXxA7MtpSi0lZRzJXXpj4/vrnNhj4qNQfY9GsREnjaiMQ+GG2+w6sJen9bdYGaITMbP7yzP0cWv8bqUHAAXJtCu5nG2hcCLvpIXmkU74L686A8xvjLaVY9GUHcth7yAp5s+ROAMSDLoKVC0arRMBujmCC7a6hNEGkml3xIrcQPgixiAmqsZ6NCXS9amLYOW83sTZRRqghXRiSEg==", "encIV": "fmxxxxxxtOhzPSf", "secretEncType": 2 } }, "Status": 3 } }, "environment": { "version": "2026.4.2", "engine": "GOWS", "tier": "PLUS", "browser": null, "platform": "linux/x64", "worker": { "id": null } } } }, "returnValue": { "content": "⚠️ Esse tipo de mensagem não é suportado nesta caixa de entrada.\n📱 Por favor, abra o WhatsApp para visualizá-la.\n\nDetalhes: whatsapp | message.any => 63778", "message_type": "outgoing", "private": true, "attachments": [], "content_attributes": {} } }

patron:PLUS

OrionZap avatar May 06 '26 13:05 OrionZap

+1

patron:PLUS

silvabw2 avatar May 10 '26 20:05 silvabw2

+1

patron:PLUS

WilliamSantos96 avatar May 11 '26 01:05 WilliamSantos96

+1

patron:PLUS

ecocentauro-git avatar May 11 '26 02:05 ecocentauro-git

+1

patron:PLUS

LTMGhan avatar May 11 '26 08:05 LTMGhan

+1

patron:PLUS

nathanarend avatar May 11 '26 11:05 nathanarend

+1

patron:PRO

rafwell avatar May 11 '26 11:05 rafwell

+1

brunocicom avatar May 11 '26 11:05 brunocicom

+1

aramismktdigital-glitch avatar May 11 '26 12:05 aramismktdigital-glitch

+1

PauloNapa avatar May 11 '26 23:05 PauloNapa

Let's try dev image 🤞🏻

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

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

patron:PRO

devlikepro avatar May 12 '26 08:05 devlikepro

+1

patron:PLUS

douglasvillar avatar May 12 '26 20:05 douglasvillar

+1

patron:PLUS

Lsmelo80 avatar May 13 '26 18:05 Lsmelo80

@devlikepro How are the tests going? Any predictions for when it will go into full production? It started out happening a few times, but now it's becoming impractical.

mcabral2510 avatar May 15 '26 15:05 mcabral2510

I’m facing the same issue on WAHA 2026.4.3 using GOWS + Chatwoot.

When a WhatsApp message is edited, Chatwoot receives a private note saying the message type is not supported in this inbox.

In my case, the event is arriving as message.any, not as message.edited.

Environment:

  • WAHA version: 2026.4.3
  • Engine: GOWS
  • Tier: PLUS
  • Platform: linux/x64
  • Integration: Chatwoot

Relevant payload details:

{
  "event": "message.any",
  "payload": {
    "fromMe": true,
    "source": "app",
    "_data": {
      "Info": {
        "Type": "text",
        "Edit": "1"
      },
      "Message": {
        "secretEncryptedMessage": {
          "targetMessageKey": {
            "ID": "MASKED_MESSAGE_ID"
          },
          "secretEncType": 2
        }
      }
    }
  },
  "environment": {
    "version": "2026.4.3",
    "engine": "GOWS",
    "tier": "PLUS",
    "platform": "linux/x64"
  }
}

Chatwoot receives this as:

{
  "content": "⚠️ Esse tipo de mensagem não é suportado nesta caixa de entrada. Por favor, abra o WhatsApp para visualizá-la.",
  "message_type": "outgoing",
  "private": true
}

lucascnvieira avatar May 21 '26 13:05 lucascnvieira

@devlikepro What is the status of this correction? Thanks

patron:PLUS

Lsmelo80 avatar May 23 '26 00:05 Lsmelo80

2026.5.1 - GOWS - Handle encrypted message edits - #2062

If the issue has not been resolved, or if it is not working correctly as expected, please open a new issue. 🙏

patron:PRO

devlikepro avatar May 26 '26 09:05 devlikepro