Getting errors on viewer side

So recently I was working on typebot integration and we were checking the integration on the viewer side but the viewer side is giving the following error and we have no clue how to fix this: @MasterIBM
viewer:dev: ⨯ Error: Unknown schema ZodUndefined. Please assign it a manual 'type'.
viewer:dev: at createManualTypeSchema (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/[email protected][email protected]/node_modules/zod-openapi/lib-commonjs/index.js:194:11)
viewer:dev: at createSchemaSwitch (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/zod-
viewer:dev: ⨯ Error: Unknown schema ZodUndefined. Please assign it a manual 'type'.
viewer:dev: at createManualTypeSchema (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/[email protected][email protected]/node_modules/zod-openapi/lib-commonjs/index.js:194:11)
viewer:dev: at createSchemaSwitch (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/zod-
No description
11 Replies
zeehasham
zeehashamOP15mo ago
@Baptiste Please suggest what can cause this error please.
michaelvips
michaelvips15mo ago
You are using the same version of builder in the viewer ?
zeehasham
zeehashamOP15mo ago
The next.js version is similar if you mean that version:
viewer:dev: - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env.
viewer:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/viewer/public/__ENV.js'.
viewer:dev: ▲ Next.js 14.0.3
viewer:dev: - Local: http://localhost:3001
viewer:dev: - Experiments (use at your own risk):
viewer:dev: · outputFileTracingRoot
--------
builder:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/builder/public/__ENV.js'.
builder:dev: ▲ Next.js 14.0.3
builder:dev: - Local: http://localhost:3000
builder:dev: - Experiments (use at your own risk):
builder:dev: · outputFileTracingRoo
viewer:dev: - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env.
viewer:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/viewer/public/__ENV.js'.
viewer:dev: ▲ Next.js 14.0.3
viewer:dev: - Local: http://localhost:3001
viewer:dev: - Experiments (use at your own risk):
viewer:dev: · outputFileTracingRoot
--------
builder:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/builder/public/__ENV.js'.
builder:dev: ▲ Next.js 14.0.3
builder:dev: - Local: http://localhost:3000
builder:dev: - Experiments (use at your own risk):
builder:dev: · outputFileTracingRoo
@Michaelvips
michaelvips
michaelvips15mo ago
No The version I mean release
zeehasham
zeehashamOP15mo ago
I pulled the repo 3-4 days back
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Baptiste
Baptiste15mo ago
This does not look like the viewer URL here, it should be on port 3001
zeehasham
zeehashamOP15mo ago
So when we create a bot and try to view it on right pane available on builder side to review bot, we get this error.
Baptiste
Baptiste15mo ago
You most likely editted the code, right? What you've added most likely triggers this error. Can you share you GitHub repository?
zeehasham
zeehashamOP15mo ago
Thanks we resolved this issue after a rebase something was missing but we cannot get past developer api error on google calendar https://discord.com/channels/1155799591220953138/1197312390144987156/1202000453873700915 This is the message thread

Did you find this page helpful?