Shared whatsapp webhook is not working
rodneyoliveira opened this issue · comments
When I share a bot to listen whatsapp messages looks like its not working. Seems like webhook is "in trouble" to deal with requests received from Meta, based in log bellow
Follow bellow the logs I've got in typebot_viewer
Something went wrong ZodError: [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"typebot"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"linkedTypebots"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"currentTypebotId"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"result"
],
"message": "Required"
}
]
at get error [as error] (file:///app/node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs:538:31)
at ZodEffects.parse (file:///app/node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs:638:22)
at s (/app/apps/viewer/.next/server/pages/api/[...trpc].js:86:194467)
at async h (/app/apps/viewer/.next/server/pages/api/[...trpc].js:88:2727)
at async resolveMiddleware (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:420:30)
at async callRecursive (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:456:32)
at async outputMiddleware (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:301:24)
at async callRecursive (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:456:32)
at async callRecursive (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:456:32)
at async callRecursive (file:///app/node_modules/.pnpm/@trpc+server@10.40.0/node_modules/@trpc/server/dist/index.mjs:456:32) {
issues: [ [Object], [Object], [Object], [Object] ],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [ [Object], [Object], [Object], [Object] ]
}
}
Message is too old 1715869604000
sorry to bother, but, any clue what is going on?
Checked the Discord channel and the error wasn't fixed yet, maybe on the next version.
I am facing the same issue. How do you get the logs from the viewer? I am using conteiners.
Duplicate of #1513
You will have to wait for next release to have this fix or you can pull next
images
Releasing v2.25.2 now (should be available in max 30 min)