EvolutionAPI / evolution-api

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

EVO 2.1.1 - Error communicating via webhook sending audio or image #942

Open wilsonfe opened 1 month ago

wilsonfe commented 1 month ago

Welcome!

What did you do?

I found a bug in Evo version 2.1.1. When communicating via webhook by sending audio or image, the base64 field is not being sent. This same error does not occur in version 2.1.0.

What did you expect?

That the base64 field was sent with the audio or image data.

What did you observe instead of what you expected?

That the base64 field was sent with the audio or image data.

Screenshots/Videos

download (6) download (5) download (4)

Which version of the API are you using?

2.1.1

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

erro do áudio

Stack trace

NodeOperationError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received null at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Files/ConvertToFile/actions/toBinary.operation.js:142:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Files/ConvertToFile/ConvertToFile.node.js:135:26) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:670:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1100:20

Additional Notes

erro da imagem

Stack trace

NodeOperationError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received null at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Files/ConvertToFile/actions/toBinary.operation.js:142:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Files/ConvertToFile/ConvertToFile.node.js:135:26) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:670:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1100:20

ip2cloud commented 1 month ago

I'm having problems with this too

ip2cloud commented 1 month ago

fixed in version release-0.9.2 can close