© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
2 replies
3Froto

AuthApiError: Error sending recovery email

i made this code for send a recovery email for reset password and i got this error


try {
  const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
    redirectTo: 'http://localhost:3000/auth/update-password',
  });
  if (error) throw error;
  return data;
} catch (error: any) {
  console.error('Full error object:', JSON.stringify(error, null, 2));
 
  console.error('Error details:', {
    name: error.name,
    status: error.status,
    message: error.message,
    hint: error.hint,
    details: error.details,
    cause: error.cause,
  });
  throw error;
}
try {
  const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
    redirectTo: 'http://localhost:3000/auth/update-password',
  });
  if (error) throw error;
  return data;
} catch (error: any) {
  console.error('Full error object:', JSON.stringify(error, null, 2));
 
  console.error('Error details:', {
    name: error.name,
    status: error.status,
    message: error.message,
    hint: error.hint,
    details: error.details,
    cause: error.cause,
  });
  throw error;
}



err

cause
:
undefined
details
:
undefined
hint
:
undefined
message
:
"Error sending recovery email"
name
:
"AuthApiError"
status
:
500
Symbol(next.console.error.digest)
:
"NEXT_CONSOLE_ERROR"
Symbol(next.console.error.type)
:
"error"
[[Prototype]]
:
Object
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Error sending recovery email or adding new user
SupabaseSSupabase / help-and-questions
7mo ago
Error sending invite email
SupabaseSSupabase / help-and-questions
2mo ago
Error sending confirmation email
SupabaseSSupabase / help-and-questions
8mo ago
Error sending confirmation email
SupabaseSSupabase / help-and-questions
13mo ago