Share feedback, ideas and get community help

Updated 12 months ago

The column `Typebot.riskLevel` does not exist in the current database.

Can anyone help me get around this error? I've tried everything but without success.

I'm using version Version:
TYPEBOT: 2.19.1
NODE_VERSION: 18.19.0
YARN_VERSION: 1.22.19
Attachment
error-typebot.png
B
E
13 comments
What command are you running? When is this produced?
@Baptiste On the administrative screen, when I am executing a GET request to a WebHook, it returns Internal Server Error and prints this log on the server
Self-Hosting - Logs are printed to the server PUBLIC_VIEWER console
This is full log:


  • event [next-runtime-env] read environment variables prefixed with 'NEXTPUBLIC' from process.env.
  • ready [next-runtime-env] wrote browser runtime environment variables to '/app/apps/viewer/public/__ENV.js'.
    β–² Next.js 14.0.3
    • Local: http://localhost:3000
    • Network: http://0.0.0.0:3000
βœ“ Ready in 499ms
PrismaClientKnownRequestError:
Invalid prisma.typebot.findUnique() invocation:


The column Typebot.riskLevel does not exist in the current database.
at zr.handleRequestError (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:8308)
at zr.handleAndLogRequestError (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:7697)
at zr.request (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:7307)
at async T (/app/apps/viewer/.next/server/pages/api/typebots/[typebotId]/blocks/[blockId]/executeWebhook.js:1:1393) {
code: 'P2022',
clientVersion: '5.0.0',
meta: { column: 'Typebot.riskLevel' }
}
riskLevel should not exist on version 2.19.1.
So I'm confused, you need to provide more info on how you are deploying Typebot
Please use official docker images πŸ™
Ok, I'll deploy Typebot from official docker images, thanks.
I was successful, thank you
Add a reply
Sign up and join the conversation on Discord