https://supertokens.com/ logo
#support-questions
Title
# support-questions
o

othiagocruz

04/08/2021, 6:18 PM
Copy code
2021-04-08T18:17:04.274Z    45a8a61c-8e0e-47a1-8b49-d6a56b09f0fe    ERROR    SessionError {  getRecipeId: [Function (anonymous)],  type: 'GENERAL_ERROR',  message: 'Initialisation not done. Did you forget to call the SuperTokens.init function?',  payload: Error: Initialisation not done. Did you forget to call the SuperTokens.init function?      at Function.getInstanceOrThrowError (/var/task/node_modules/supertokens-node/lib/build/recipe/session/sessionRecipe.js:307:26)      at getSession (/var/task/node_modules/supertokens-node/lib/build/recipe/session/index.js:26:40)      at handler (/var/task/.next/server/pages/api/me.js:88:86)      at apiResolver (/var/task/node_modules/next/dist/next-server/server/api-utils.js:8:7)      at processTicksAndRejections (internal/process/task_queues.js:93:5)      at async Server.handleApiRequest (/var/task/node_modules/next/dist/next-server/server/next-server.js:67:462)      at async Object.fn (/var/task/node_modules/next/dist/next-server/server/next-server.js:59:492)      at async Router.execute (/var/task/node_modules/next/dist/next-server/server/router.js:25:67)      at async Server.run (/var/task/node_modules/next/dist/next-server/server/next-server.js:69:1042)      at async Server.handleRequest (/var/task/node_modules/next/dist/next-server/server/next-server.js:34:504),  recipe: undefined,  errMagic: 'ndskajfasndlfkj435234krjdsa'}
hey im getting this error when trying to run supertokens on vercel, not sure whats going on, local it works
3 Views