Docker and beta 3 Chatwoot Issue

TLDR hasanbasri93 encounters an error upon hitting the API via Docker and beta 3 Chatwoot. sojan_official requests backend logs for diagnostics, no resolution provided yet.

Photo of hasanbasri93
hasanbasri93
Wed, 02 Aug 2023 07:03:18 UTC

hi sojan_official i need help, got error

Photo of hasanbasri93
hasanbasri93
Wed, 02 Aug 2023 09:39:08 UTC

i'm using docker and the beta 3 chatwoot

Photo of hasanbasri93
hasanbasri93
Wed, 02 Aug 2023 09:39:50 UTC

and hit to api the respond like this

Photo of hasanbasri93
hasanbasri93
Wed, 02 Aug 2023 09:41:03 UTC

log from rail

Photo of hasanbasri93
hasanbasri93
Sat, 05 Aug 2023 04:23:36 UTC

i still getiing error here sojan_official

Photo of hasanbasri93
hasanbasri93
Wed, 09 Aug 2023 01:49:48 UTC

No. I using docker using image from docker hub

Photo of sojan_official
sojan_official
Wed, 09 Aug 2023 20:59:14 UTC

could you share the logs from backend ?

Photo of hasanbasri93
hasanbasri93
Thu, 10 Aug 2023 00:28:08 UTC

`// filtering out the whatsapp templates with media if (messagesTemplates instanceof Array) { return messagesTemplates.filter(template => { return !template.components.some( i => i.format === 'IMAGE' || i.format === 'VIDEO' ); }); } return [];` error here, return !template.components.some( https://github.com/chatwoot/chatwoot/blob/04287a09244f6eb708032ebe36e3baa072003389/app/javascript/dashboard/store/modules/inboxes.js#L70

Photo of hasanbasri93
hasanbasri93
Thu, 10 Aug 2023 00:28:32 UTC

and here the log from browser console `vue.common.prod.js:659 TypeError: Cannot read properties of null (reading 'some') at inboxes.js:70:37 at Array.filter () at Object. (inboxes.js:69:32) at o.hasWhatsappTemplates (ReplyBox.vue:304:1) at Tn.get (vue.common.prod.js:1445:21) at Tn.evaluate (vue.common.prod.js:1495:21) at o.hasWhatsappTemplates (vue.common.prod.js:1607:32) at o. (ReplyBox.vue:1:4372) at e._render (vue.common.prod.js:1880:21) at o.a (vue.common.prod.js:3525:19)`

Photo of hasanbasri93
hasanbasri93
Mon, 14 Aug 2023 23:27:54 UTC

How to get it?

Photo of hasanbasri93
hasanbasri93
Mon, 14 Aug 2023 23:28:00 UTC

From db tabel?

Photo of hasanbasri93
hasanbasri93
Fri, 18 Aug 2023 01:06:15 UTC

hai sojan_official

Photo of sojan_official
sojan_official
Tue, 22 Aug 2023 22:52:41 UTC

hasanbasri93 you can look into the browser (chrome ) network tab and take a note of the response for /inboxes call. the payload will contain the templates