Skip to content

Erro ao importar contatos no chatwoot. #1829

Closed as duplicate
Closed as duplicate

Description

@jacksonlcruz

Closing as duplicate of #2014 — Chatwoot integration meta-issue.

See #2014 for the full list of tracked Chatwoot issues and known workarounds.

Activity

  1. Claudi0-Oliveira commented on Aug 15, 2025

    @Claudi0-Oliveira

    Mesmo problema aqui........Chatwoot 4.4 e Evo 2.3

  2. jbenteu commented on Aug 19, 2025

    @jbenteu

    Cara, eu tive um problema parecido com importação de mensagens. Tenta conectar o chatwoot e a evolution no mesmo banco postgres. No meu elas não importavam mensagens, quando coloquei eles para compartilhar o mesmo banco, funcionou.

    Tenta também escanear o QR Code direto pelo Chatwoot.

  3. iderlando commented on Aug 19, 2025

    @iderlando

    Pessoal, alguém conseguiu encontrar alguma saída para esse problema?

  4. Liviofrol commented on Aug 25, 2025

    @Liviofrol

    Mesmo problema aqui.

    Cara, eu tive um problema parecido com importação de mensagens. Tenta conectar o chatwoot e a evolution no mesmo banco postgres. No meu elas não importavam mensagens, quando coloquei eles para compartilhar o mesmo banco, funcionou.

    Tenta também escanear o QR Code direto pelo Chatwoot.

    Testei isso mas também não tive sucesso.

    Verificando o db do evolution todas conversas e contatos estão lá, o problema é realmente dessa integração com o chatwoot, segue os logs do processo de ativação da integração do Chatwoot abaixo:

    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:49     LOG   [ChatwootService]  [string]  Auto create chatwoot instance 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:50     LOG   [ChatwootService]  [string]  Creating chatwoot inbox 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:51     LOG   [ChatwootService]  [string]  Inbox created - inboxId: 8 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:51     LOG   [ChatwootService]  [string]  Creating chatwoot bot contact 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:51     LOG   [ChatwootService]  [string]  Contact created - contactId: 1 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:51     LOG   [ChatwootService]  [string]  QR code enabled 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:07:52     LOG   [ChatwootService]  [string]  Init message sent 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:08:26     ERROR   [ChatwootImport]  [string]  Error on import history contacts: Error: self-signed certificate in certificate chain 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:09:08     ERROR   [ChatwootImport]  [string]  Error on getChatwootUser: Error: self-signed certificate in certificate chain 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:09:08     ERROR   [ChatwootImport]  [string]  Error on import history messages: Error: User not found to import messages. 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:09:08     ERROR   [ChatwootImport]  [string]  Error on get recent conversations: Error: self-signed certificate in certificate chain 
    [Evolution API]    v2.3.0  170   -  Sun Aug 24 2025 21:09:08     ERROR   [ChatwootService]  [string]  Error on update avatar in recent conversations: TypeError: Cannot read properties of undefined (reading 'map')  
    
  5. DAVIAMERICO242 commented on Sep 25, 2025

    @DAVIAMERICO242

    0 - O chatwoot da instancia deve ser configurado antes de gerar o QRCode no manager

    1 - Para a importação funcionar a evolution deve estar conectada ao banco de dados chatwoot_production, através da variável de ambiente CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgresql://usuario_sql_chatwoot:senha_sql_chatwoot@seu_ip_vps:porta_sql_chatwoot/chatwoot_production?sslmode=disable

    2 - A importação só funciona se é a primeira vez que aquele instancia esta sendo conectada

    3 - Caso as mensagens do whatsapp nao cheguem no chatwoot tem que reiniciar a instancia da evolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions