Users get logged out automatically and I can't really see the issue.
In the Chrome Browser tools, it gives me these error messages: index-DyjaD6qb.js:90 TypeError: Cannot read properties of undefined (reading 'length') at onAccept (index-DyjaD6qb.js:90:21778) at vg (index-DyjaD6qb.js:90:4501) at g6 (index-DyjaD6qb.js:90:21205) onAccept @ index-DyjaD6qb.js:90Fehler nachvollziehen
injected.js:6 Caught error handling <hide-notification> message (anonym) @ injected.js:6Diese Warnung nachvollziehen server-production-41e1.up.railway.app/auth/me:1 Failed to load resource: the server responded with a status of 401 ()
In Railway, I get this error which happens because of: if (!user) { throw new Error("User not authenticated!") }
--> at checkSlackUserEmail (/app/src/server/queries.ts:269:11)
at checkSlackUserEmail$1 (/app/.wasp/build/server/src/queries/checkSlackUserEmail.ts:7:11)
at <anonymous> (/app/.wasp/build/server/src/middleware/operations.ts:14:30)
at <anonymous> (/app/.wasp/out/sdk/wasp/server/utils.ts:26:11)
at Layer.handle [as handle_request] (/app/.wasp/build/server/node_modules/express/lib/router/layer.js:95:5)
at next (/app/.wasp/build/server/node_modules/express/lib/router/route.js:149:13)
at <anonymous> (/app/.wasp/out/sdk/wasp/core/auth.ts:25:12)
at <anonymous> (/app/.wasp/out/sdk/wasp/server/utils.ts:26:11)
at Layer.handle [as handle_request] (/app/.wasp/build/server/node_modules/express/lib/router/layer.js:95:5)
at next (/app/.wasp/build/server/node_modules/express/lib/router/route.js:149:13)
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.