https://supertokens.com/ logo
Title
a

abcdefgh

03/03/2023, 12:31 PM
i got error when i verify email can not say error but my mail id already in database it shows result exists=false why?
r

rp

03/03/2023, 1:12 PM
hey. I would need more info like the error stack perhaps, to be able to help you
a

abcdefgh

03/03/2023, 1:14 PM
my email is already stored in database. but when i hit verify email api it gave me a wrong respose
r

rp

03/03/2023, 1:14 PM
can you show me the output?
a

abcdefgh

03/03/2023, 1:14 PM
{
  "status": "OK",
  "exists": false
}
r

rp

03/03/2023, 1:14 PM
which API are you calling?
a

abcdefgh

03/03/2023, 1:14 PM
this is my output
/auth/signup/email/exists
passwordless recipe
r

rp

03/03/2023, 1:15 PM
which email did you use to sign in up? And how are you querying the API?
a

abcdefgh

03/03/2023, 1:15 PM
my personal id
r

rp

03/03/2023, 1:16 PM
and did you use the passwordless recipe to sign up with the email?
a

abcdefgh

03/03/2023, 1:16 PM
yes
r

rp

03/03/2023, 1:17 PM
have you also initialised the emailpassword recipe?
a

abcdefgh

03/03/2023, 1:18 PM
no
r

rp

03/03/2023, 1:19 PM
which recipes have you initialised?
a

abcdefgh

03/03/2023, 1:19 PM
only passwordless
r

rp

03/03/2023, 1:20 PM
which backend SDK?
a

abcdefgh

03/03/2023, 1:20 PM
fastapi
r

rp

03/03/2023, 1:20 PM
ok. Let me try and replicate this issue
a

abcdefgh

03/03/2023, 1:20 PM
ohk
r

rp

03/03/2023, 1:40 PM
are you using a
+
or anything in the email ID? Or an
_
or
.
or something?
You need to url encode the email that you are adding in the query param
and try again
cause it's a query param
a

abcdefgh

03/06/2023, 4:56 AM
how to encode url
also i faced error when i try to do email and phone number together
r

rp

03/06/2023, 5:17 AM
you can google how to url encode
a

abcdefgh

03/06/2023, 5:22 AM
also i faced error when i try to do email and phone number together
r

rp

03/06/2023, 5:22 AM
you will have to be more specific please
a

abcdefgh

03/06/2023, 12:31 PM
i want to know how session management works? canu explain in simple language?
how to implment session management in fastapi pyhton
actually i got error when i try to implement those code
how to implement verify session middleware in fastapi ? can you provide me a proper code?
r

rp

03/09/2023, 5:23 AM
see our docs