[NOWEB] - 2025.10.2 error when send media to channel (newsletter)
curl -X 'POST' \
'https://***.com/api/sendImage' \
-H 'accept: application/json' \
-H 'X-Api-Key: *****' \
-H 'Content-Type: application/json' \
-d '{
"chatId": "******@newsletter",
"file": {
"mimetype": "image/jpeg",
"filename": "waha.jpg",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg"
},
"reply_to": null,
"caption": "string",
"session": "My"
}'
{
"id": "*****",
"session": "My",
"event": "message.ack",
"payload": {
"id": "****@****",
"from": "****@newsletter",
"fromMe": true,
"ack": -1,
"ackName": "ERROR"
},
"timestamp": 1760450968207,
"metadata": {},
"me": {
"id": "****@c.us",
"pushName": "****",
"lid": "****@lid"
},
"engine": "NOWEB",
"environment": {
"version": "2025.10.2",
"engine": "NOWEB",
"tier": "PLUS",
"browser": null
}
}
Portuguese
Title: [NOWEB] - Erro 2025.10.2 ao enviar mídia para o canal (boletim informativo)
curl -X 'POST' \
'https://***.com/api/sendImage'\
-H 'aceitar: aplicação/json' \
-H 'X-Api-Key: *****' \
-H 'Tipo de conteúdo: aplicativo/json' \
-d '{
"chatId": "******@boletim informativo",
"arquivo": {
"mimetype": "imagem/jpeg",
"nome do arquivo": "waha.jpg",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg"
},
"resposta_para": nulo,
"caption": "string",
"sessão": "Meu"
}'
{
"eu ia": "*****",
"sessão": "Meu",
"evento": "mensagem.ack",
"carga útil": {
"eu ia": "****@****",
"de": "****@boletim informativo",
"fromMe": verdadeiro,
"ack": -1,
"ackNome": "ERRO"
},
"carimbo de data e hora": 1760450968207,
"metadados": {},
"meu": {
"id": "****@c.us",
"pushName": "****",
"tampa": "****@tampa"
},
"motor": "NOWEB",
"ambiente": {
"versão": "2025.10.2",
"motor": "NOWEB",
"camada": "MAIS",
"navegador": nulo
}
}
waha-1 | {"level":30,"time":1760451279858,"pid":7,"hostname":"3a2b0c1d0703","reqId":694,"req":{"id":694,"method":"POST","url":"/api/sendImage","query":{},"params":{"path":["api","sendImage"]}},"res":{"statusCode":201},"responseTime":811,"msg":"request completed"}
waha-1 | {"level":30,"time":1760451279961,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"MediaManager","msg":"The message 3EB07E1438F25D74DA5C3E has media, downloading it..."}
waha-1 | {"level":30,"time":1760451279984,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"MediaManager","msg":"The media from '3EB07E1438F25D74DA5C3E' has been saved."}
waha-1 | {"level":30,"time":1760451279986,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"WebhookSender","id":"01K7HH5F3HM3PMYE0D75Z8BDXB","event.id":"evt_01k7hh5f3h2xdpsxyf77az5wre","url":"******","msg":"Sending POST..."}
waha-1 | {"level":40,"time":1760451280014,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"NOWEBEngine","attrs":{"class":"message","from":"120363284378981533@newsletter","id":"3EB07E1438F25D74DA5C3E","t":"1760451279","error":"479"},"msg":"received error in ack"}
waha-1 | {"level":30,"time":1760451280245,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"WebhookSender","id":"01K7HH5F3HM3PMYE0D75Z8BDXB","event.id":"evt_01k7hh5f3h2xdpsxyf77az5wre","url":"******","msg":"POST request was sent with status code: 200"}
Portuguese
Title:
haha-1 | {"level":30,"time":1760451279858,"pid":7,"hostname":"3a2b0c1d0703","reqId":694,"req":{"id":694,"method":"POST","url":"/ap i/sendImage","query":{},"params":{"path":["api","sendImage"]}},"res":{"statusCode":201},"responseTime":811,"msg":"request concluído"}
haha-1 | {"level":30,"time":1760451279961,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"MediaManager","msg":"A mensagem 3EB07E1438F25D74DA5C3E contém mídia, baixando isto..."}
haha-1 | {"level":30,"time":1760451279984,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"MediaManager","msg":"A mídia de '3EB07E1438F25D74DA5C3E' foi salvo."}
haha-1 | {"level":30,"time":1760451279986,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"Meu","nome":"WebhookSen der","id":"01K7HH5F3HM3PMYE0D75Z8BDXB","event.id":"evt_01k7hh5f3h2xdpsxyf77az5wre","url":"******","msg":"Enviando PUBLICAR..."}
haha-1 | {"level":40,"time":1760451280014,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"My","name":"NOWEBEngine","attrs":{"class s":"mensagem","de":"120363284378981533@newsletter","id":"3EB07E1438F25D74DA5C3E","t":"1760451279","error":"479"},"msg":"recebida erro na confirmação"}
haha-1 | {"level":30,"time":1760451280245,"pid":7,"hostname":"3a2b0c1d0703","reqId":530,"session":"Meu","nome":"WebhookS ender","id":"01K7HH5F3HM3PMYE0D75Z8BDXB","event.id":"evt_01k7hh5f3h2xdpsxyf77az5wre","url":"******","msg":"POST a solicitação foi enviada com código de status: 200"}
Same happening here but no channel sending individually:
ERROR - 2025-10-14 12:16:07 --> [WPF][SCHEDULE][FAILED] send_error | {"endpoint":"sendVideo","http_code":500,"body":"{"statusCode":500,"timestamp":"2025-10-14T15:16:07.716Z","exception":{"message":"Media upload failed on all hosts","data":null,"isBoom":true,"isServer":true,"output":{},"name":"Error","stack":"Error: Media upload failed on all hosts\n at Object.upload (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages-media.js:578:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:146:28\n at async Promise.all (index 0)\n at async prepareWAMessageMedia (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:144:40)\n at async generateWAMessageContent (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:467:13)\n at async generateWAMessage (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:589:46)\n at async Object.sendMessage (file:///app/node_modules/@adiwajshing/baileys/lib/Socket/messages-send.js:893:33)"},"request":{"path":"/api/sendVideo","method":"POST","body":{"chatId":"[email protected]","file":{"mimetype":"video/mp4","filename":"video.mp4","url":"https://myhosts.com/assets/wpf/WhatsApp_V... [truncated]","lead_id":"1739","campaign_id":"92","session":"alwhatspro_11438_114789","message_type":"video","media":"https://myhosts.com/assets/wpf/WhatsApp_Video_2025-06-23_at_12_32_17.mp4","chatId":"[email protected]","wid_path":"use_saved_wid","schedule_id":"25750"}
Portuguese
Title:
O mesmo acontecendo aqui, mas nenhum canal enviando individualmente:
ERRO - 2025/10/14 12:16:07 --> [WPF][SCHEDULE][FAILED] send_error | {"endpoint":"sendVideo","http_code":500,"body":"{"statusCode":500,"timestamp":"2025-10-14T15:16:07.716Z","exception":{"message":"O upload de mídia falhou em todos hosts","data":null,"isBoom":true,"isServer":true,"output":{},"name":"Error","stack":"Erro: O upload de mídia falhou em todos os hosts\n em Object.upload (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages-media.js:578:19)\n em process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n em assíncrono file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:146:28\n em async Promise.all (índice 0)\n em assíncrono prepareWAMessageMedia (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:144:40)\n em generateWAMessageContent assíncrono (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:467:13)\n em generateWAMessage assíncrono (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/messages.js:589:46)\n em Object.sendMessage assíncrono (file:///app/node_modules/@adiwajshing/baileys/lib/Socket/messages-send.js:893:33)"},"request":{"path":"/api/sendVideo","method":"POST","body\ ":{"chatId":"[email protected]","file":{"mimetype":"video/mp4","f nome do arquivo":"video.mp4","url":"https://myhosts.com/assets/wpf/WhatsApp_V... [truncado]","lead_id":"1739","campaign_id":"92","session":"alwhatspro_11438_114789","message_type":"video","media":"https://myhosts.com/a ssets/wpf/WhatsApp_Video_2025-06-23_at_12_32_17.mp4","chatId":"[email protected]","wid_path":"use_saved_wid","schedule_id":"25750"}
Portuguese
Title:
+1
Relacionado https://github.com/devlikeapro/waha/issues/1505
Could you check docker logs when you send the image and search for any uploadResult or upload failed, reason string?
Portuguese
Title:
Você poderia verificar os logs do docker ao enviar a imagem e procurar por qualquer string uploadResult?
Portuguese
Title:
Isso acontece também após o código "logout/scan qr"?