Skip to content

No está funcionando la solución al bug de remotejid = @lid #2324

@erikam-stack

Description

@erikam-stack

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Hasta ayer venía manejando el tema del bug de remotejid = ...@lid, tomando en esos casos la variable remotejidAlt, pero desde ayer hay mensajes que llegan sin la variable remotejidAlt y no tengo forma de obtener el número de whatsapp. Copio abajo un webhook de n8n con la variable RemoteJidAlt y uno sin:

CON: [
{
"headers": {
"host": "n8nprod.eccosur.com.ar",
"user-agent": "axios/1.12.2",
"content-length": "1436",
"accept": "application/json, text/plain, /",
"accept-encoding": "gzip",
"cdn-loop": "cloudflare; loops=1",
"cf-connecting-ip": "190.111.211.75",
"cf-ipcountry": "AR",
"cf-ray": "9af6b6980dee4af0-EZE",
"cf-visitor": "{"scheme":"http"}",
"cf-warp-tag-id": "e118903b-d737-483d-aa4b-2d599a6270eb",
"content-type": "application/json",
"x-forwarded-for": "10.0.1.1",
"x-forwarded-host": "n8nprod.eccosur.com.ar",
"x-forwarded-port": "80",
"x-forwarded-proto": "http",
"x-forwarded-server": "4dbb9f908c1a",
"x-real-ip": "10.0.1.1"
},
"params": {},
"query": {},
"body": {
"event": "messages.upsert",
"instance": "Holti Productivo 2",
"data": {
"key": {
"remoteJid": "250860483416279@lid",
"remoteJidAlt": "5491168836189@s.whatsapp.net",
"fromMe": false,
"id": "3A287F9E01CFA289E153",
"participant": "",
"addressingMode": "lid"
},
"pushName": "Rudt",
"status": "DELIVERY_ACK",
"message": {
"conversation": "Buen día",
"messageContextInfo": {
"deviceListMetadata": {
"senderKeyIndexes": [],
"recipientKeyIndexes": [],
"senderKeyHash": {
"0": 167,
"1": 225,
"2": 9,
"3": 81,
"4": 189,
"5": 180,
"6": 172,
"7": 34,
"8": 32,
"9": 119
},
"senderTimestamp": {
"low": 1763396178,
"high": 0,
"unsigned": true
},
"recipientKeyHash": {
"0": 155,
"1": 73,
"2": 37,
"3": 120,
"4": 66,
"5": 6,
"6": 50,
"7": 219,
"8": 164,
"9": 116
},
"recipientTimestamp": {
"low": 1765140915,
"high": 0,
"unsigned": true
}
},
"deviceListMetadataVersion": 2,
"messageSecret": {
"0": 16,
"1": 241,
"2": 107,
"3": 220,
"4": 6,
"5": 129,
"6": 232,
"7": 67,
"8": 164,
"9": 244,
"10": 253,
"11": 179,
"12": 162,
"13": 109,
"14": 142,
"15": 110,
"16": 238,
"17": 212,
"18": 105,
"19": 112,
"20": 64,
"21": 99,
"22": 229,
"23": 67,
"24": 149,
"25": 215,
"26": 121,
"27": 48,
"28": 226,
"29": 72,
"30": 104,
"31": 0
}
}
},
"messageType": "conversation",
"messageTimestamp": 1765977576,
"instanceId": "33369d15-2103-4e58-b2c0-29bffe405807",
"source": "ios"
},
"destination": "http://n8nprod.eccosur.com.ar/webhook/a6218241-8554-443f-9aaa-85a2945bed0c",
"date_time": "2025-12-17T10:19:38.142Z",
"sender": "5491126413762@s.whatsapp.net",
"server_url": "http://evolutiondev.eccosur.com.ar",
"apikey": "2535806FBBD0-4CAC-AFC6-64B9DC5F0C9F"
},
"webhookUrl": "http://n8nprod.eccosur.com.ar/webhook/a6218241-8554-443f-9aaa-85a2945bed0c",
"executionMode": "production"
}
]

SIN: [
{
"headers": {
"host": "n8nprod.eccosur.com.ar",
"user-agent": "axios/1.12.2",
"content-length": "1113",
"accept": "application/json, text/plain, /",
"accept-encoding": "gzip",
"cdn-loop": "cloudflare; loops=1",
"cf-connecting-ip": "190.111.211.75",
"cf-ipcountry": "AR",
"cf-ray": "9af6a03daeeec772-EZE",
"cf-visitor": "{"scheme":"http"}",
"cf-warp-tag-id": "e118903b-d737-483d-aa4b-2d599a6270eb",
"content-type": "application/json",
"x-forwarded-for": "10.0.1.1",
"x-forwarded-host": "n8nprod.eccosur.com.ar",
"x-forwarded-port": "80",
"x-forwarded-proto": "http",
"x-forwarded-server": "4dbb9f908c1a",
"x-real-ip": "10.0.1.1"
},
"params": {},
"query": {},
"body": {
"event": "messages.upsert",
"instance": "Holti Productivo 2",
"data": {
"key": {
"remoteJid": "111385715450039@lid",
"fromMe": false,
"id": "AC6C3A77DB9B2E201E0A11F3D4AC3226"
},
"pushName": null,
"status": "DELIVERY_ACK",
"message": {
"messageContextInfo": {
"messageSecret": {
"0": 208,
"1": 150,
"2": 130,
"3": 4,
"4": 16,
"5": 180,
"6": 20,
"7": 155,
"8": 4,
"9": 248,
"10": 185,
"11": 224,
"12": 85,
"13": 103,
"14": 87,
"15": 19,
"16": 247,
"17": 184,
"18": 94,
"19": 34,
"20": 103,
"21": 72,
"22": 6,
"23": 74,
"24": 21,
"25": 102,
"26": 104,
"27": 152,
"28": 78,
"29": 106,
"30": 147,
"31": 200
}
},
"conversation": "Hola! quiero consultar por un producto."
},
"contextInfo": {
"mentionedJid": [],
"groupMentions": [],
"entryPointConversionSource": "click_to_chat_link",
"entryPointConversionDelaySeconds": 0
},
"messageType": "conversation",
"messageTimestamp": 1765976651,
"instanceId": "33369d15-2103-4e58-b2c0-29bffe405807",
"source": "android"
},
"destination": "http://n8nprod.eccosur.com.ar/webhook/a6218241-8554-443f-9aaa-85a2945bed0c",
"date_time": "2025-12-17T10:04:22.255Z",
"sender": "5491126413762@s.whatsapp.net",
"server_url": "http://evolutiondev.eccosur.com.ar",
"apikey": "2535806FBBD0-4CAC-AFC6-64B9DC5F0C9F"
},
"webhookUrl": "http://n8nprod.eccosur.com.ar/webhook/a6218241-8554-443f-9aaa-85a2945bed0c",
"executionMode": "production"
}
]

What did you expect?

Quiero poder recuperar el número de whatsapp para poder responder

What did you observe instead of what you expected?

No viene el remotejidAlt

Screenshots/Videos

No response

Which version of the API are you using?

Versión: 2.3.6

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions