https://supertokens.com/ logo
p

PPaii

07/25/2022, 2:03 PM
Hi. I received 500 error when i tried to sign in with another computer
r

rp

07/25/2022, 2:04 PM
hey! What is the error message in the response?
p

PPaii

07/25/2022, 2:06 PM
here
r

rp

07/25/2022, 2:07 PM
click on the response API
response tab*
do you have an error handler on the backend? What is the error from there?
p

PPaii

07/25/2022, 2:14 PM
Do u mean this?
r

rp

07/25/2022, 2:16 PM
yea.. you can just surround the whole API logic with a try and catch block and print out the error
p

PPaii

07/25/2022, 2:23 PM
it keep saying that i no not have valid domain
r

rp

07/25/2022, 2:23 PM
can i see the error in full?
Also, what is the value of websiteDomain and apiDomain?
p

PPaii

07/25/2022, 2:24 PM
it is created by vercel
localhost
sorry
r

rp

07/25/2022, 2:24 PM
How have you set the appInfo on the backend?
can i see the error?
What is the value of the env vars?
the next_public_supertokens_staging_url