Error 535 from signInWithOtp

I'm not sure what I've done wrong because I was able to sign in earlier today. Now I get an Error 500 message, and when inspecting the supabase logs I see:

  "error": "Error sending confirmation email: 535 Authentication Credentials Invalid",
  "level": "error",
  "method": "POST",
  "msg": "500: Error sending confirmation mail",
  "path": "/otp",


I've double checked the API key and URL and they are both correct in the headers. Let me know if anyone can help, thanks!

Simple login:
const handleLogin = async () => {
        try {
            const {error} = await supabaseClient.auth.signInWithOtp({ email });
            if (error) throw error
            alert('Check your email for a magic link to login!');
        } catch (error) {
            console.log(error);

        }
    }
Was this page helpful?