← All errors · Supabase
AuthApiError: Invalid login credentials
Exact error
AuthApiError: Invalid login credentials
What it means
signInWithPassword was rejected: no user with that email/password combination could be authenticated.
Likely causes
- Wrong email or password.
- User signed up with OAuth or magic link and has no password.
- User exists in a different Supabase project (wrong URL/key).
How to fix it
Check the user exists in Dashboard → Authentication → Users for this project.
Offer a password reset:
await supabase.auth.resetPasswordForEmail(email, { redirectTo: `${location.origin}/reset` });Confirm your app's Supabase URL and anon key point to the expected project.
Related errors
Get new fixes weekly
No spam. Unsubscribe anytime. Privacy