Auth error messages: is there a list of them? Or a way to access an object?
So far, I'm collecting them as I see them and handling them like this
if (error == 'AuthApiError: Email not confirmed') { ...
. I'm used to Firebase having these string-only type errors, but is that how it works with supabase too? https://supabase.com/docs/guides/auth/auth-email . I haven't found any lists of them so that I can make sure they're all accounted for.Login With Email | Supabase Docs
Use Supabase to Authenticate and Authorize your users using email.
7 Replies
There is no list anyone has found.
And yes they are just text strings.
Well, OK! Thanks. 🙂
Still digging around...


Mysterious...
error.name
AuthApiError
(not the specific error)
error.status 400
But then just error... is AuthApiError: Email not confirmed or whatever the situation
How does this work as both an object and also a string?
OK OK.
Still mysterious where the actual error string comes from...