My signup was working, and now, it's not anymore... I get error 422
const { user, session, error } = await supabase.auth.signUp({
email: email,
password: pass,
},
{
data: {
pseudo: email.split('@')[0],
niveau: niveau,
institution: institution
}
}
)
g
garyaustin
01/18/2022, 12:01 AM
Do you get any other error info back? 422 on signup is used for sure if password or email is really bad (like empty string, null)
j
joshcowan25
01/18/2022, 12:03 AM
In the console I have: Failed to load resource: the server responded with a status of 422 ()
joshcowan25
01/18/2022, 12:03 AM
I'll try to log errror
joshcowan25
01/18/2022, 12:05 AM
Oh, there it is... I was just making dummy account to make some test and I didn't know supabase was looking for the security of my password, so I had a password of 5 characters... Dumb error...
joshcowan25
01/18/2022, 12:05 AM
Is there a place I can see every error to modify my own message in the frontend?