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

1 messages · Page 1 of 1 (latest)

timid steeple
#

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

light flare
#

What command are you running? When is this produced?

timid steeple
#

@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

timid steeple
#

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

✓ 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' }
}

light flare
#

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

timid steeple
light flare
#

Please use official docker images 🙏

timid steeple
#

Ok, I'll deploy Typebot from official docker images, thanks.

timid steeple