© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
airplantlifestyle

verifyOtp (email) - Failed to fetch

Requesting the OTP works perfect, but when I want to verify it, the request seems to be rejected by the server. According to the Network tab, I am either getting no response at all ("Provisional headers are shown") or a 401 without any data sent back by the server. Anyone a clue what's going on? Using NextJs, though I don't think that matters.

supabase.auth.verifyOtp({
      email,
      token: otp,
      type: 'signup',  // 'magiclink' shows the same behaviour
    });
supabase.auth.verifyOtp({
      email,
      token: otp,
      type: 'signup',  // 'magiclink' shows the same behaviour
    });
Screenshot_2022-11-28_at_12.40.06.png
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

Failed to fetch?
SupabaseSSupabase / help-and-questions
3mo ago
Failed to fetch
SupabaseSSupabase / help-and-questions
5mo ago
Failed to fetch?
SupabaseSSupabase / help-and-questions
6mo ago
Failed to fetch
SupabaseSSupabase / help-and-questions
4y ago