evolution-api
evolution-api copied to clipboard
[BUG?] API envia a mesma mensagem múltiplas vezes mesmo com apenas 1 requisição (v2.3.6)
Welcome!
- [x] Yes, I have searched for similar issues on GitHub and found none.
What did you do?
Descrição do problema
Estou utilizando a Evolution API (imagem evoapicloud/evolution-api:v2.3.6) para envio de áudios via WhatsApp utilizando a rota:
Mesmo enviando apenas uma requisição para um determinado número, o mesmo áudio é reenviado automaticamente várias vezes, respeitando o delay configurado (ex: 31000 ms). O status da resposta da API permanece PENDING e não recebemos nenhum controle ou confirmação do envio final (ex: message_id ou status: SENT).
Exemplo do corpo da requisição
{
"number": "5511999999999",
"audio": "base64_do_arquivo",
"delay": 31000
}
### What did you expect?
Que a mensagem fosse enviada apenas uma vez
Ou que houvesse um message_id ou status indicando envio já concluído
### What did you observe instead of what you expected?
A mensagem é reenviada múltiplas vezes para o mesmo número
O delay parece ser usado como intervalo de reenvio, não como atraso único
Sem controle claro de finalização ou confirmação
### Screenshots/Videos
_No response_
### Which version of the API are you using?
Docker image: evoapicloud/evolution-api:v2.3.6
### What is your environment?
Docker
### Other environment specifications
_No response_
### If applicable, paste the log output
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:51:52 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB019C13FA8B3AD85DBE1",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:51:52 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB030CD03DB91C938062E",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:51:52 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB019C13FA8B3AD85DBE1_2
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:51:52 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB030CD03DB91C938062E_2
[Evolution API] [FENICE] v2.3.6 163 - Wed Nov 05 2025 15:52:24 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:27 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:27 VERBOSE [ChannelStartupService] [string] Sending message to [email protected]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:27 VERBOSE [ChannelStartupService] [string] Typing for 31000ms to [email protected]
[Evolution API] [FENICE] v2.3.6 163 - Wed Nov 05 2025 15:52:30 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:32 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:32 VERBOSE [ChannelStartupService] [string] Sending message to [email protected]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:52:32 VERBOSE [ChannelStartupService] [string] Typing for 31000ms to [email protected]
[Evolution API] [FENICE] v2.3.6 163 - Wed Nov 05 2025 15:53:00 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:01 VERBOSE [ChannelStartupService] [object]
WebMessageInfo {
messageStubParameters: [],
labels: [],
userReceipt: [],
reactions: [],
pollUpdates: [],
eventResponses: [],
statusMentions: [],
messageAddOns: [],
statusMentionSources: [],
supportAiCitations: [],
key: MessageKey {
remoteJid: '[email protected]',
fromMe: true,
id: '3EB015B6A7698E6BEB009B'
},
message: Message {
audioMessage: AudioMessage {
url: 'https://mmg.whatsapp.net/v/t62.7114-24/577175372_1333550031202150_4911739000537382324_n.enc?ccb=11-4&oh=01_Q5Aa2wGSGTiuYX40zMl0n_Ghv0ZLW6PYeEscHFvlEvbtg61hzQ&oe=693323E4&_nc_sid=5e03e0&mms3=true',
mimetype: 'audio/ogg; codecs=opus',
fileSha256: <Buffer 9a c9 b7 f3 a1 7a 25 8e 08 26 8c 54 52 57 b0 43 f5 9d a5 6a 7c 05 8b 69 64 1e 97 76 9b 4c a0 74>,
fileLength: [Long],
seconds: 31,
ptt: true,
mediaKey: <Buffer 23 4a 9a 8b 27 a9 f3 93 3c f9 b2 bd d5 3c 93 e5 e9 f5 2d b9 bf 09 f7 59 38 55 f4 55 42 f4 a0 70>,
fileEncSha256: <Buffer a2 58 9d 3d 3f d8 1f d8 3d d8 ab 4d 9f f7 e5 7e 78 d2 1b b2 5e f0 bd 14 2a 69 33 af 0e 06 a3 2c>,
directPath: '/v/t62.7114-24/577175372_1333550031202150_4911739000537382324_n.enc?ccb=11-4&oh=01_Q5Aa2wGSGTiuYX40zMl0n_Ghv0ZLW6PYeEscHFvlEvbtg61hzQ&oe=693323E4&_nc_sid=5e03e0',
mediaKeyTimestamp: [Long],
contextInfo: [Object],
waveform: [Uint8Array]
}
},
messageTimestamp: 1762368781,
status: 1
}
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:02 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB015B6A7698E6BEB009B",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:02 VERBOSE [ChannelStartupService] [string] Number +5511977065730 found in cache
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:02 VERBOSE [ChannelStartupService] [string] Sending message to [email protected]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:02 VERBOSE [ChannelStartupService] [string] Typing for 31000ms to [email protected]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:03 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB015B6A7698E6BEB009B",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:03 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB015B6A7698E6BEB009B_2
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:05 VERBOSE [ChannelStartupService] [object]
WebMessageInfo {
messageStubParameters: [],
labels: [],
userReceipt: [],
reactions: [],
pollUpdates: [],
eventResponses: [],
statusMentions: [],
messageAddOns: [],
statusMentionSources: [],
supportAiCitations: [],
key: MessageKey {
remoteJid: '[email protected]',
fromMe: true,
id: '3EB035D85664FBC4C8D878'
},
message: Message {
audioMessage: AudioMessage {
url: 'https://mmg.whatsapp.net/v/t62.7114-24/540939954_1193426382658483_1330144000749737980_n.enc?ccb=11-4&oh=01_Q5Aa2wFYGBqT1agB44WApvGUL6clQ5YvkowB16b2kIEe4-OpiQ&oe=6933272B&_nc_sid=5e03e0&mms3=true',
mimetype: 'audio/ogg; codecs=opus',
fileSha256: <Buffer 9a c9 b7 f3 a1 7a 25 8e 08 26 8c 54 52 57 b0 43 f5 9d a5 6a 7c 05 8b 69 64 1e 97 76 9b 4c a0 74>,
fileLength: [Long],
seconds: 31,
ptt: true,
mediaKey: <Buffer 91 d3 12 c6 05 89 d7 52 42 ac ff 0a 9e b6 df 01 52 ec 4c ac 9b b1 4f 68 74 ed d4 f1 fb 05 98 34>,
fileEncSha256: <Buffer 85 d6 4b a3 af 29 a6 d7 b2 d1 d0 0a 05 29 9b 62 99 64 1f d9 02 63 88 aa 73 0c a7 39 5b 3c 3a 10>,
directPath: '/v/t62.7114-24/540939954_1193426382658483_1330144000749737980_n.enc?ccb=11-4&oh=01_Q5Aa2wFYGBqT1agB44WApvGUL6clQ5YvkowB16b2kIEe4-OpiQ&oe=6933272B&_nc_sid=5e03e0',
mediaKeyTimestamp: [Long],
contextInfo: [Object],
waveform: [Uint8Array]
}
},
messageTimestamp: 1762368785,
status: 1
}
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:06 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB035D85664FBC4C8D878",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:07 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB035D85664FBC4C8D878",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:07 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB035D85664FBC4C8D878_2
[Evolution API] [3TOM] v2.3.6 163 - Wed Nov 05 2025 15:53:15 DEBUG [ChannelStartupService] [string] Updating contact: {
"id": "[email protected]",
"imgUrl": "changed"
}
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:36 VERBOSE [ChannelStartupService] [object]
WebMessageInfo {
messageStubParameters: [],
labels: [],
userReceipt: [],
reactions: [],
pollUpdates: [],
eventResponses: [],
statusMentions: [],
messageAddOns: [],
statusMentionSources: [],
supportAiCitations: [],
key: MessageKey {
remoteJid: '[email protected]',
fromMe: true,
id: '3EB072356B8E33AE734456'
},
message: Message {
audioMessage: AudioMessage {
url: 'https://mmg.whatsapp.net/v/t62.7114-24/541784767_1416223720158251_8016771333710577813_n.enc?ccb=11-4&oh=01_Q5Aa2wFc2nC0O33CoY2IjR9ahbZndCu1RtyOTeZDI7BwQOftTQ&oe=69330BCA&_nc_sid=5e03e0&mms3=true',
mimetype: 'audio/ogg; codecs=opus',
fileSha256: <Buffer 9a c9 b7 f3 a1 7a 25 8e 08 26 8c 54 52 57 b0 43 f5 9d a5 6a 7c 05 8b 69 64 1e 97 76 9b 4c a0 74>,
fileLength: [Long],
seconds: 31,
ptt: true,
mediaKey: <Buffer 37 32 2b 37 c5 ea ad 50 ce 5a 20 76 0e 46 39 c9 3a 42 68 2e ac f3 a6 f3 35 cd 51 ec 5a dd 47 29>,
fileEncSha256: <Buffer c1 13 4d 08 f3 62 5b 4b 77 fd 18 b1 05 6a 5a b1 aa e9 ec 06 22 b7 a5 52 70 24 32 77 28 6c 6a ab>,
directPath: '/v/t62.7114-24/541784767_1416223720158251_8016771333710577813_n.enc?ccb=11-4&oh=01_Q5Aa2wFc2nC0O33CoY2IjR9ahbZndCu1RtyOTeZDI7BwQOftTQ&oe=69330BCA&_nc_sid=5e03e0',
mediaKeyTimestamp: [Long],
contextInfo: [Object],
waveform: [Uint8Array]
}
},
messageTimestamp: 1762368816,
status: 1
}
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:37 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB072356B8E33AE734456",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:37 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB072356B8E33AE734456",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:53:37 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB072356B8E33AE734456_2
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:54:52 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB035D85664FBC4C8D878",
"fromMe": true
},
"update": {
"status": 2
}
},
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB015B6A7698E6BEB009B",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:54:52 VERBOSE [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "[email protected]",
"id": "3EB072356B8E33AE734456",
"fromMe": true
},
"update": {
"status": 2
}
}
]
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:54:52 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB035D85664FBC4C8D878_2
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:54:52 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB072356B8E33AE734456_2
[Evolution API] [Pessoal] v2.3.6 163 - Wed Nov 05 2025 15:54:52 INFO [ChannelStartupService] [string] Message duplicated ignored [avoid deadlock]: ebbadb16-99fd-4f36-80fe-3a7abb2d791b_3EB015B6A7698E6BEB009B_2
[Evolution API] [FENICE] v2.3.6 163 - Wed Nov 05 2025 15:54:57 DEBUG [ChannelStartupService] [string] Updating contact: {
"id": "[email protected]",
"imgUrl": "changed"
}
[Evolution API] [3TOM] v2.3.6 163 - Wed Nov 05 2025 15:56:32 DEBUG [ChannelStartupService] [string] Updating contact: {
"id": "[email protected]",
"imgUrl": "removed"
}
[Evolution API] [3TOM] v2.3.6 163 - Wed Nov 05 2025 16:05:20 DEBUG [ChannelStartupService] [string] Updating contact: {
"id": "[email protected]",
"imgUrl": "changed"
}
### Additional Notes
_No response_