waha
waha copied to clipboard
"Send an voice message" Node with error to work with "ElevenLabs" node
📩 Ticket – WAHA Send Voice Error (Integrando ElevenLabs + N8N)
Hi,
I am using a WAHA-PLUS version in N8N to send an ElevenLabs audio to WhatsApp, but I am receiving this error:
❌ "The service was not able to process your request – Request failed with status code 500"
(Full logs below)
I am generating text using an AI Agent and sending it to ElevenLabs to generate audio (Text-to-Speech).
The audio is correct, but when I try to send it to WhatsApp using the WAHA “Send a voice message” node, the error occurs.
Could you help me fix this problem?
🧰 LOGS
{
"errorMessage": "The service was not able to process your request",
"errorDescription": "Request failed with status code 500",
"errorDetails": {
"rawErrorMessage": [
"Request failed with status code 500"
],
"httpCode": "500",
"errorData": {
"statusCode": 500,
"timestamp": "2025-11-20T16:01:47.720Z",
"exception": {
"message": "Cannot use 'in' operator to search for 'url' in undefined",
"name": "TypeError",
"stack": "TypeError: Cannot use 'in' operator to search for 'url' in undefined\n at WhatsappSessionGoWSPlus.fileToMedia (/app/dist/plus/engines/gows/session.gows.plus.js:43:19)\n at WhatsappSessionGoWSPlus.sendMedia (/app/dist/plus/engines/gows/session.gows.plus.js:119:34)\n at WhatsappSessionGoWSPlus.sendVoice (/app/dist/plus/engines/gows/session.gows.plus.js:175:27)\n at descriptor.value (/app/dist/core/abc/activity.js:9:35)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
},
"request": {
"path": "/api/sendVoice",
"method": "POST",
"body": {
"session": "default",
"chatId": "[email protected]",
"reply_to": ""
},
"query": {}
},
"version": {
"version": "2025.11.2",
"engine": "GOWS",
"tier": "PLUS",
"browser": null
}
}
},
"n8nDetails": {
"nodeName": "Send an voice message",
"nodeType": "@devlikeapro/n8n-nodes-waha.WAHA",
"nodeVersion": 202502,
"resource": "Chatting",
"operation": "Send Voice",
"itemIndex": 0,
"runIndex": 0,
"time": "20/11/2025, 13:01:47",
"n8nVersion": "1.118.2 (Self Hosted)",
"binaryDataMode": "filesystem",
"stackTrace": [
"NodeApiError: The service was not able to process your request\n at ExecuteSingleContext.httpRequestWithAuthentication (...)\n at processTicksAndRejections (...)\n at ExecuteSingleContext.httpRequestWithAuthentication (...)\n at RoutingNode.rawRoutingRequest (...)\n at RoutingNode.makeRequest (...)\n at async Promise.allSettled (index 0)\n at RoutingNode.runNode (...)\n at ExecuteContext.versionedNodeType.execute (...)\n at WorkflowExecute.executeNode (...)\n at WorkflowExecute.runNode (...)"
]
}
}
📌 Summary
- ElevenLabs TTS generates a correct
.mp3 - WAHA “Send Voice” returns error
500 - WAHA GOWS engine throws
"body": {
"session": "default",
"chatId": "[email protected]",
"reply_to": ""
}
There's no file.url in the body
{
"session": "default",
"chatId": "[email protected]",
"file": {
"mimetype": "audio/ogg; codecs=opus",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/dev.likeapro.opus"
},
"convert": true
}
https://waha.devlike.pro/docs/how-to/send-messages/#send-voice