Getting the following error trying to authenticate an API endpoint.
Paste all your error logs here:
Aug 24 10:30:38 AM TypeError: Cannot read properties of undefined (reading 'getSession')
Aug 24 10:30:38 AM at getSessionKernel (/opt/render/project/src/node_modules/@blitzjs/auth/dist/index-server.cjs:423:57)
Aug 24 10:30:38 AM at getSession (/opt/render/project/src/node_modules/@blitzjs/auth/dist/index-server.cjs:142:29)
Aug 24 10:30:38 AM at replicachePull (/opt/render/project/src/.next/server/chunks/495.js:271:84)
Aug 24 10:30:38 AM at /opt/render/project/src/node_modules/@sentry/nextjs/cjs/utils/withSentry.js:78:35
Aug 24 10:30:38 AM at bound (node:domain:421:15)
Aug 24 10:30:38 AM at runBound (node:domain:432:12)
Aug 24 10:30:38 AM at /opt/render/project/src/node_modules/@sentry/nextjs/cjs/utils/withSentry.js:133:12
Aug 24 10:30:38 AM at Object.apiResolver (/opt/render/project/src/node_modules/next/dist/server/api-utils/node.js:179:15)
Aug 24 10:30:38 AM at processTicksAndRejections (node:internal/process/task_queues:96:5)
Aug 24 10:30:38 AM at async NextNodeServer.runApi (/opt/render/project/src/node_modules/next/dist/server/next-server.js:381:9)
What is the problem?
Getting the following error trying to authenticate an API endpoint.
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response