EvolutionAPI / evolution-api

Evolution API is an open-source WhatsApp integration API
https://evolution-api.com
Other
1.99k stars 1.13k forks source link

Erro no envio de mídia na instancia WhatsApp Cloud API #1026

Open AlafaethyG opened 3 weeks ago

AlafaethyG commented 3 weeks ago

Welcome!

What did you do?

Ao realizar um envio de mídia, tipo imagem pelo WhatsApp não esta chegando no chatwoot

img_info

img_info2

What did you expect?

Que a imagem aparece-se no chatwoot

What did you observe instead of what you expected?

Erros aparecendo no log de "TypeError [ERR_INVALID_ARG_TYPE]: " e "Error on upload file to minio"

Screenshots/Videos

img1_err

img2_err

Which version of the API are you using?

Latest = v2.2

What is your environment?

Docker

Other environment specifications

No response

If applicable, paste the log output

[ 'Error on upload file to minio', "Cannot read properties of undefined (reading 'remoteJid')", "TypeError: Cannot read properties of undefined (reading 'remoteJid')\n" + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)' ' at ps.messageHandle (/evolution/dist/main.js:236:1914)\n' + ]


TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined 'Error on upload file to minio', [Evolution API] v2.2.0 170 - Fri Nov 01 2024 08:39:02 ERROR [ChatwootService] [object]
at Function.from (node:buffer:320:9) at Ae.eventWhatsapp (/evolution/dist/main.js:123:2199) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ps.messageHandle (/evolution/dist/main.js:236:4290) { code: 'ERR_INVALID_ARG_TYPE' }

Additional Notes

No response

1kpas commented 2 weeks ago

Conseguiu resolver?

AlafaethyG commented 1 week ago

@1kpas tive que desabilitar o minio temporariamente para ir normal as imagens.