#Unhandled Runtime Error
4 messages · Page 1 of 1 (latest)
Hey @flat magnet! This is an error coming from your action in createSessions . Are you using useConvexAuth or one of our helper Auth components to gate the call to the action?
Hi Michal! I'm using <ConvexProviderWithClerk>. Previously I've tried using useConvexAuthto solve the issue but then ran into another error where the app is trying to access isLoading and isAuthenticated before there is a value.
Without useConvexAuth or our Authenticated helper it’s possible that the action runs before the client is authenticated. Do you mind sharing your client code? Feel free to DM me here.