Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared whatsapp webhook is not working #1517

Closed
rodneyoliveira opened this issue May 16, 2024 · 6 comments
Closed

Shared whatsapp webhook is not working #1517

rodneyoliveira opened this issue May 16, 2024 · 6 comments

Comments

@rodneyoliveira
Copy link

rodneyoliveira commented May 16, 2024

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

@rodneyoliveira
Copy link
Author

sorry to bother, but, any clue what is going on?

@La-Rocca
Copy link

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.

@rodneyoliveira
Copy link
Author

The same here, my installation is under Easypanel that makes it easy. Just connect to the container, and its shown. See bellow.

Captura de Tela 2024-05-19 às 12 06 32

In your case It depends what you are using to orchestrate(manage) your container. Each one has its way...I

@La-Rocca
Copy link

Mine stop here:

image

@baptisteArno
Copy link
Owner

Duplicate of #1513

You will have to wait for next release to have this fix or you can pull next images

@baptisteArno baptisteArno closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@baptisteArno
Copy link
Owner

Releasing v2.25.2 now (should be available in max 30 min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants