Skip to content

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

@AlafaethyG

Description

@AlafaethyG

Welcome!

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

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

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