n8n-nodes-codechat icon indicating copy to clipboard operation
n8n-nodes-codechat copied to clipboard

Endpoints wrong

Open vitorezende opened this issue 2 years ago • 1 comments

Hey guys, the endpoints by using this n8n lib is calling {{baseUrl}}/{{instance}}/message/sendText/ instead of {{baseUrl}}/message/sendText/{{instance}}

https://github.com/code-chat-br/n8n-nodes-codechat/blob/d0ecca9de4a1e195c1e791429fe5acdcd7f8219c/nodes/CodeChat/Generic.func.ts#L47

Since in the postman collection we have the "instanceName" as final part of the url

vitorezende avatar Feb 02 '23 17:02 vitorezende

EN-USA: I had the same problem as @vitorezende but I found this other NPM also from codechat for n8n that is working fine in the new version of CodeChat but it doesn't have all the features that this repo here had, but it already served my case since I just needed send message even to a certain number.

https://www.npmjs.com/package/n8n-nodes-codechat-wapi

PT-BR: Tive o mesmo problema do @vitorezende mas eu achei esse outro NPM também do codechat para n8n que está funcionando bem na nova versão do CodeChat porem não tem todas as funcionalidades que esse repo aqui tinha, mas já serviu para o meu caso já que só precisava enviar mensagem mesmo para um determinado número.

https://www.npmjs.com/package/n8n-nodes-codechat-wapi

rubensflinco avatar Apr 09 '23 16:04 rubensflinco