#The column `Typebot.riskLevel` does not exist in the current database.
1 messages · Page 1 of 1 (latest)
What command are you running? When is this produced?
@light flare 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 'NEXT_PUBLIC_' 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/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:122:8308)
at zr.handleAndLogRequestError (/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:122:7697)
at zr.request (/app/node_modules/.pnpm/@[email protected][email protected]/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
@light flare
Using Plesk with Docker image https://hub.docker.com/r/elestio/typebot-viewer and https://hub.docker.com/r/elestio/typebot-builder.
ENVs in image
Ok, I'll deploy Typebot from official docker images, thanks.
I was successful, thank you