wppconnect-team / wpp-docker

Crie facilmente imagens do Docker com diferentes versões/combinações de linguagens e dependências comuns, para uso no WPPConnect.
Apache License 2.0
124 stars 63 forks source link

Error when running Wpp + Chatwoot Docker: Unhandled Rejection TypeError: Cannot read properties of null #28

Open p3dr0574 opened 1 year ago

p3dr0574 commented 1 year ago

I followed the instructions from the Wpp Connect video to run the Wpp + Chatwoot Docker, but I encountered an error in the server terminal:

error: Unhandled Rejection: TypeError: Cannot read properties of null (reading 'id') **** at chatWootClient.createConversation (/home/node/app/dist/util/chatWootClient.js:192:27) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async chatWootClient.sendMessage (/home/node/app/dist/util/chatWootClient.js:71:24)

I'm not sure what is causing this error, but it seems to be related to a null value in the chatWootClient module. I would appreciate any help in resolving this issue so I can successfully run the Wpp + Chatwoot Docker.