evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

evolution api no create inbox in chatwoot

Open jesulo opened this issue 1 year ago • 5 comments

Welcome!

  • [X] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

evolution api no create inbox in chatwoot, but no show error, popup error say UNDEFINED ...

[Evolution API] v2.1.0 167 - Thu Sep 26 2024 16:40:47 INFO [PrismaRepository] [string] Repository:Prisma - ON

[Evolution API] v2.1.0 167 - Thu Sep 26 2024 16:40:47 LOG [SERVER] [string] HTTP - ON: 8080

[Evolution API] v2.1.0 167 - Thu Sep 26 2024 16:45:57 LOG [ChatwootService] [string] Auto create chatwoot instance

[Evolution API] v2.1.0 167 - Thu Sep 26 2024 16:50:15 LOG [ChatwootService] [string] Auto create chatwoot instance

What did you expect?

create inbox in chatwoot

What did you observe instead of what you expected?

evolution api no create inbox in chatwoot

Screenshots/Videos

No response

Which version of the API are you using?

v2.1.0

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

jesulo avatar Sep 26 '24 19:09 jesulo

Estou com o mesmo problema!

levifreire avatar Sep 28 '24 02:09 levifreire

I just recreated the redis container and it worked

jesulo avatar Sep 28 '24 13:09 jesulo

evolutionapi2 1 1 evolutionapi2 1 1

"I am also experiencing the same issue. The Evolution API does not create an inbox in Chatwoot.

I am using a localhost environment with port forwarding (domain.com.br:port). Despite following the setup instructions, the inbox is not being created in Chatwoot. Any insights or solutions would be greatly appreciated."

My error was saying Undefined, yours says it can't find that domain

jesulo avatar Sep 28 '24 14:09 jesulo

I have the same problem! evolution does not create the inbox

chrysllercs avatar Oct 14 '24 12:10 chrysllercs

the problem its the localhost, because when u set like localhost the URL of evolution, when he creates the webhook, he tries to set in chatwoot, but if chatwoot its localhost too, he will do a reference with a wrong way. i think if u try to test in an server linux, and install using docker its more right to do it

dpaes avatar Dec 03 '24 22:12 dpaes

Hello, was this problem solved? Because I'm trying to generate it on a VPS for a second account and it's not working.

rdfinanzas avatar Feb 10 '25 15:02 rdfinanzas

Consegui resolver pessoal a variavel "auto_create: true" não funciona. voce deve utilizar: "autoCreate: true" e funcionou bem.

ddavid-almeida avatar Mar 30 '25 09:03 ddavid-almeida

autoCreate: true

Onde alterou ou localizou essa variável ?

WesleyjanLacerda avatar Apr 01 '25 14:04 WesleyjanLacerda

autoCreate: true

Onde alterou ou localizou essa variável ?

esqueceram de atualizar a documentação, pior que o GPT que me deu essa informação e aqui funcionou. então quando você for fazer a requisição via api muda esse argumento para essa variável que funciona.

ddavid-almeida avatar Apr 01 '25 14:04 ddavid-almeida

autoCreate: true

Onde alterou ou localizou essa variável ?

esqueceram de atualizar a documentação, pior que o GPT que me deu essa informação e aqui funcionou. então quando você for fazer a requisição via api muda esse argumento para essa variável que funciona.

Me perdoe pela a ignorância mesmo, só que compreendi pouco... Eu no caso estou preenchendo as informações do Chatwoot no painel do Evolution, e no final clicando no Toggle de "Auto Create" para criar uma Caixa de Entrada no Chatwoot:

Image

No caso vocês fazem uma requisição, para realizar essa configuração no Chatwoot ?

WesleyjanLacerda avatar Apr 01 '25 14:04 WesleyjanLacerda

autoCreate: true

Onde alterou ou localizou essa variável ?

esqueceram de atualizar a documentação, pior que o GPT que me deu essa informação e aqui funcionou. então quando você for fazer a requisição via api muda esse argumento para essa variável que funciona.

Me perdoe pela a ignorância mesmo, só que compreendi pouco... Eu no caso estou preenchendo as informações do Chatwoot no painel do Evolution, e no final clicando no Toggle de "Auto Create" para criar uma Caixa de Entrada no Chatwoot:

Image

No caso vocês fazem uma requisição, para realizar essa configuração no Chatwoot ?

Tranquilo, é que esse tópico do git é especifico para da API. isso que voce deve estar enfrentando deve ser outro problema, precisa ver qual mensagem de erro exatamente aparece quando você tenta salvar

Obs: o rapaz que colocou o gif na primeira resposta ele não se atentou que ele estava no menu de configuração do chatwoot mas ele colocou o link do dify dele por isso tava dando erro.

ddavid-almeida avatar Apr 01 '25 15:04 ddavid-almeida

@ddavid-almeida adicionei no meu código, porém não está criando automaticamente. Estou recebendo o mesmo erro

Image/

autoCreate: true, chatwootAccountId: String(chatwootSetup.accountId),
chatwootToken: chatwootSetup.agentToken, chatwootUrl: "https://meusite.com",
chatwootInboxId: String(chatwootSetup.inboxId),
chatwootSignMsg: true, chatwootReopenConversation: true, chatwootConversationPending: false, chatwootImportContacts: true, chatwootNameInbox: WhatsApp ${agent.name},
chatwootMergeBrazilContacts: true, chatwootImportMessages: true, chatwootDaysLimitImportMessages: 30, chatwootOrganization: agent.name, chatwootLogo: ""

IgorFSSilva avatar May 31 '25 20:05 IgorFSSilva

Hello, I have a similar error. I am trying to integrate Chatwoot, and when I try to register with the automatic creation option enabled, I get an error.

{status: 403, error: “Internal Server Error”, response: {message: “Access denied”}}

Environment

  • Evolution verion: v2.3.1
  • Servidor: Linux
  • Usage: Coolify template Evolution API

trxsalo avatar Aug 28 '25 03:08 trxsalo

Hello, I have a similar error. I am trying to integrate Chatwoot, and when I try to register with the automatic creation option enabled, I get an error.

{status: 403, error: “Internal Server Error”, response: {message: “Access denied”}}

Environment

  • Evolution verion: v2.3.1
  • Servidor: Linux
  • Usage: Coolify template Evolution API

I get same error , did you find a fix?

Ben-Avrahami avatar Oct 10 '25 16:10 Ben-Avrahami

Hello, I have a similar error. I am trying to integrate Chatwoot, and when I try to register with the automatic creation option enabled, I get an error. {status: 403, error: “Internal Server Error”, response: {message: “Access denied”}}

Environment

  • Evolution verion: v2.3.1
  • Servidor: Linux
  • Usage: Coolify template Evolution API

I get same error , did you find a fix?

do you use nginx as reverse proxy? you have to set underscores_in_headers on in your nginx.conf inside the http block

Batlle1 avatar Oct 18 '25 05:10 Batlle1