-
Notifications
You must be signed in to change notification settings - Fork 79
signup, dashboard & account mgmnt throw "UNAUTHORIZED" (no infos found) #21
Copy link
Copy link
Open
Description
What's happening:
After signing in, or signing up, some data is undefined (e.g. activeMembership, accountStore). Nothing is populated in the DB (tables "account" and "user" are still empty after creating several accounts).
This breaks the whole app: dashboard page is not populating since activeMembership isn't defined, same occurs for account page.
Error msg
TRPCError: UNAUTHORIZED
at <anonymous> (/Users/lilian/Code-local/vecting-supanuxt/server/trpc/trpc.ts:39:11)
at callRecursive (file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/index.mjs:451:38)
at resolve (file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/index.mjs:481:30)
at callProcedure (file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/config-d5fdbd39.mjs:155:12)
at inputToProcedureCall (file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs:46:28)
at file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs:169:51
at Array.map (<anonymous>)
at resolveHTTPResponse (file:///Users/lilian/Code-local/vecting-supanuxt/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs:169:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at <anonymous> (/Users/lilian/Code-local/vecting-supanuxt/node_modules/trpc-nuxt/dist/index.mjs:49:26) {
code: 'UNAUTHORIZED',
[cause]: undefined
}
-> often with message: 'no user or active account information was found'
screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

