Getting this error message when trying to send text using Evolution API:
404 - “\n\n\n\nError\n\n\nCannot POST /message/sendText/\n\n\n”
n8n version 1.118.2 (Self Hosted)
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
{
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "f9df48e8-65ed-48cf-b0d4-e57d69445f41",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
-896,
-64
],
"id": "33512e61-fb48-4517-a077-375e0db58689",
"name": "Webhook",
"webhookId": "f9df48e8-65ed-48cf-b0d4-e57d69445f41"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "a13fdf8b-16a5-4242-b77c-162eee7797a7",
"leftValue": "={{ $json.body.data.key.fromMe }}",
"rightValue": "",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-688,
-64
],
"id": "6eeb3cb9-7451-4dab-9a4a-005200ae6c75",
"name": "If"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $('Webhook').item.json.body.data.message.conversation }}",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 3,
"position": [
-480,
32
],
"id": "f39f99ba-52f3-4da9-8e31-8b9455a5774e",
"name": "AI Agent"
},
{
"parameters": {
"resource": "messages-api",
"remoteJid": "={{ $('Webhook').item.json.body.instance }}",
"messageText": "={{ $json.output }}",
"options_message": {}
},
"type": "n8n-nodes-evolution-api.evolutionApi",
"typeVersion": 1,
"position": [
-128,
32
],
"id": "a18d4af1-8002-4c06-b6ed-cc4808f9578c",
"name": "Enviar texto",
"credentials": {
"evolutionApi": {
"id": "oAqJORAL95COFq7r",
"name": "Evolution account"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Enviar texto",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {
"Webhook": [
{
"headers": {
"host": "n8n-n8n.xtuxwo.easypanel.host",
"user-agent": "axios/1.10.0",
"content-length": "713",
"accept": "application/json, text/plain, */*",
"accept-encoding": "gzip, compress, deflate, br",
"content-type": "application/json",
"x-forwarded-for": "172.18.0.1",
"x-forwarded-host": "n8n-n8n.xtuxwo.easypanel.host",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-forwarded-server": "a47dd9d3c858",
"x-real-ip": "172.18.0.1"
},
"params": {},
"query": {},
"body": {
"event": "messages.upsert",
"instance": "Teste",
"data": {
"key": {
"remoteJid": "[email protected]",
"fromMe": false,
"id": "3F87F1BB43EF0665153C",
"participant": "252497000181916@lid"
},
"pushName": "Rods",
"status": "DELIVERY_ACK",
"message": {
"conversation": "hii"
},
"contextInfo": {
"expiration": 0
},
"messageType": "conversation",
"messageTimestamp": 1763176817,
"instanceId": "2f57324d-e5be-44b3-8d92-fe5fdba325b7",
"source": "desktop"
},
"destination": "https://n8n-n8n.xtuxwo.easypanel.host/webhook-test/f9df48e8-65ed-48cf-b0d4-e57d69445f41",
"date_time": "2025-11-15T00:20:17.848Z",
"sender": "[email protected]",
"server_url": "https://n8n-evolution-api.xtuxwo.easypanel.host",
},
"webhookUrl": "https://n8n-n8n.xtuxwo.easypanel.host/webhook-test/f9df48e8-65ed-48cf-b0d4-e57d69445f41",
"executionMode": "test"
}
]
},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "523dad69b06762b7cba771ad40c8c3563e47df78277ae4c498c63e29529f01fd"
}
}
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:

