Title: [BUG] Erro ao enviar mensagem de texto · Issue #2364 · EvolutionAPI/evolution-api · GitHub
Open Graph Title: [BUG] Erro ao enviar mensagem de texto · Issue #2364 · EvolutionAPI/evolution-api
X Title: [BUG] Erro ao enviar mensagem de texto · Issue #2364 · EvolutionAPI/evolution-api
Description: 📋 Bug Description Ao tentar enviar mensagens de texto via Evolution API (v2.3.6) integrado ao n8n, a requisição retorna erro 404 ou 500. O endpoint /api/messages/send que funcionava anteriormente agora responde com Cannot POST /api/messa...
Open Graph Description: 📋 Bug Description Ao tentar enviar mensagens de texto via Evolution API (v2.3.6) integrado ao n8n, a requisição retorna erro 404 ou 500. O endpoint /api/messages/send que funcionava anteriormente a...
X Description: 📋 Bug Description Ao tentar enviar mensagens de texto via Evolution API (v2.3.6) integrado ao n8n, a requisição retorna erro 404 ou 500. O endpoint /api/messages/send que funcionava anteriormente a...
Opengraph URL: https://github.com/EvolutionAPI/evolution-api/issues/2364
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Erro ao enviar mensagem de texto","articleBody":"### 📋 Bug Description\n\nAo tentar enviar mensagens de texto via Evolution API (v2.3.6) integrado ao n8n, a requisição retorna erro 404 ou 500. O endpoint `/api/messages/send` que funcionava anteriormente agora responde com `Cannot POST /api/messages/send`, mesmo com a instância conectada e API Key válida.\n\n\n### 🔄 Steps to Reproduce\n\n1. Configurar instância Evolution API em VPS com `.env` correto e instância conectada ao WhatsApp.\n2. Criar workflow no n8n usando o node `n8n-nodes-evolution-api.evolutionApi` com operação `send-text`.\n3. Executar envio de mensagem para número válido (`21xxxxxxx@c.us`).\n4. Observar erro retornado no n8n e em chamadas diretas via PowerShell/Invoke-RestMethod.\n\n\n### ✅ Expected Behavior\n\nA mensagem deveria ser enviada com sucesso ao número informado, retornando status 200 e confirmação no JSON de resposta.\n\n\n\n### ❌ Actual Behavior\n\nA API retorna:\n- `500 Internal Server Error` com `\"Connection Closed\"`, ou\n- `404 Not Found` com `\"Cannot POST /api/messages/send\"`.\nMesmo com a instância ativa e conectada, o endpoint não responde como esperado.\n\n\n### 🌍 Environment\n\n- OS: Ubuntu 22.04 (VPS) / Windows 11 (cliente de teste)\n- Node.js version: 18.17.0\n- Evolution API version: 2.3.6\n- Database: PostgreSQL 14\n- Connection type: Baileys (WhatsApp Web)\n\n\n### 📋 Logs\n\n```shell\nNodeOperationError: Erro ao enviar mensagem de texto 500 - {\"status\":500,\"error\":\"Internal Server Error\",\"response\":{\"message\":\"Connection Closed\"}} ... Invoke-RestMethod : {\"status\":404,\"error\":\"Not Found\",\"response\":{\"message\":[\"Cannot POST /api/messages/send\"]}}\n```\n\n### 📝 Additional Context\n\n- O problema começou em 15/01/2026, sem motivo aparente\n- O endpoint `/message/send` também retorna 404.\n- API Key está correta e incluída no header.\n- Instância aparece como conectada nos logs, mas não envia mensagens","author":{"url":"https://github.com/avmcorretora-ux","@type":"Person","name":"avmcorretora-ux"},"datePublished":"2026-01-15T22:40:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2364/evolution-api/issues/2364"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:49da117f-67a2-360c-51cb-743a01436b71 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEEA:AADCD:3C88248:512CAB1:696F241E |
| html-safe-nonce | a0381a645b83bcab84d5525ca4aefc3fd1a9117491c42754a62f3cd383ba9868 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUVBOkFBRENEOjNDODgyNDg6NTEyQ0FCMTo2OTZGMjQxRSIsInZpc2l0b3JfaWQiOiIzNjk4NjkwODI5MDgyMTA4OTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 36f948f72c962aa7fdeb733f78e61cf35a54876a276e76aeabefef034cd39323 |
| hovercard-subject-tag | issue:3819501734 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/EvolutionAPI/evolution-api/2364/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0268def476c39a256f32c081ce4ded8a048e4f755b74bb14ebe42a205d944fdc/EvolutionAPI/evolution-api/issues/2364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0268def476c39a256f32c081ce4ded8a048e4f755b74bb14ebe42a205d944fdc/EvolutionAPI/evolution-api/issues/2364 |
| og:image:alt | 📋 Bug Description Ao tentar enviar mensagens de texto via Evolution API (v2.3.6) integrado ao n8n, a requisição retorna erro 404 ou 500. O endpoint /api/messages/send que funcionava anteriormente a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | avmcorretora-ux |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/EvolutionAPI/evolution-api git https://github.com/EvolutionAPI/evolution-api.git |
| octolytics-dimension-user_id | 136080052 |
| octolytics-dimension-user_login | EvolutionAPI |
| octolytics-dimension-repository_id | 651487266 |
| octolytics-dimension-repository_nwo | EvolutionAPI/evolution-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 651487266 |
| octolytics-dimension-repository_network_root_nwo | EvolutionAPI/evolution-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width