Skip to content

GET_SESSION_ERROR with Fauna DB #1018

Answered by taylorhlabs
taylorhlabs asked this question in Help
Discussion options

You must be logged in to vote

Hey @Joev- thanks for chiming in. I can confirm that data is populating to the verification_request collection in Fauna just by looking at the collection in the dashboard Collections UI. I didn't try manually querying it though.

I just ran a side by side debug with Prisma (working) and Fauna (not working). In the Fauna terminal, after getuserbyemail fires you can see that getsession fires before the user is created and a session is created. In the Prisma example, a user and session are created before getsession.

Do you suspect there is something up with the index or query in Fauna? Can we assume getuserbyemail is returning a matching user in the Fauna example so it doesn't create a user?…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@taylorhlabs
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Joev-
Comment options

@taylorhlabs
Comment options

@Joev-
Comment options

Answer selected by taylorhlabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants