Getting this error message on vercel with Payload 3.0-beta. Please help
Getting this error on console
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.Do you have logs from Vercel? They can give you more information what's the error about.
here you go.
packages used
"dependencies": {
"@payloadcms/db-postgres": "3.0.0-beta.90",
"@payloadcms/next": "3.0.0-beta.90",
"@payloadcms/plugin-cloud": "3.0.0-beta.90",
"@payloadcms/plugin-sentry": "0.0.6",
"@payloadcms/plugin-seo": "3.0.0-beta.90",
"@payloadcms/richtext-lexical": "3.0.0-beta.90",
"@payloadcms/storage-vercel-blob": "3.0.0-beta.90",
"babel-plugin-react-compiler": "0.0.0-experimental-48eb8f4-20240822",
"cross-env": "^7.0.3",
"graphql": "^16.8.2",
"jsonwebtoken": "^9.0.2",
"next": "15.0.0-canary.104",
"payload": "3.0.0-beta.90",
"react": "19.0.0-rc-06d0b89e-20240801",
"react-dom": "19.0.0-rc-06d0b89e-20240801",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.14.9",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
"eslint": "^8.57.0",
"eslint-config-next": "15.0.0-canary.104",
"typescript": "5.5.4"
},do you have a
webpackproperty somewhere in your payload config?
no ser.
plugin-sentryisn't compatible with 3.0 ATM
Okay
still can use this guide
https://docs.sentry.io/platforms/javascript/guides/nextjs/disabled it.
and I'm not sure will we add this plugin to 3.0
because this should work
I would remove the import as well
okay, running it on vercel now
I am equally connecting to supabase database and getting this error
⨯ error: relation "users" does not exist
at /var/task/.next/server/chunks/4886.js:84:145649
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /var/task/.next/server/chunks/4886.js:216:15074
at async tW (/var/task/.next/server/chunks/4886.js:160:1606)
at async Object.t1 [as findOne] (/var/task/.next/server/chunks/4886.js:160:5175)
at async m (/var/task/.next/server/app/(payload)/admin/[[...segments]]/page.js:108:57640) {
length: 105,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '216',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1392',
routine: 'parserOpenTable',
digest: '564418865'
}any idea why?
this is happening after I disabled the sentry
cause you need to run migrations I believe command
pnpm payload migratebefore start or after build
and as well create them before with
pnpm payload migrate:createif you're using postgres
this you should run locally
For the production?
I should connect to the db locally and run this?
Thanks, it works.
I believe the original error was due to sentry
either run it for the production db locally or modify
buildcommand in package.json:
"pnpm payload:migrate && next build",Star
Discord
online
Get dedicated engineering support directly from the Payload team.