© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2y ago•
2 replies
Tailor

Invalid Refresh Token: Refresh Token Not found

Hello there, I am using the following command to generate a sign up link, that I later send to the users via my own smtp server.

const { data, error } = await supabase.auth.admin.generateLink({
    type: "signup",
    email,
    password,
    options: {
      redirectTo: 
const { data, error } = await supabase.auth.admin.generateLink({
    type: "signup",
    email,
    password,
    options: {
      redirectTo: 
${process.env.NEXT_PUBLIC_ROOT_PROTOCOL}app.${process.env.NEXT_PUBLIC_ROOT_DOMAIN}/${lang}/verify-email
,
    },
  }); 
,
    },
  }); 


I was not using the application for more than a week right now, and when I tried the sign up, it does not work anymore. I get the following error:

 AuthApiError: Invalid Refresh Token: Refresh Token Not Found 
 AuthApiError: Invalid Refresh Token: Refresh Token Not Found 


Any idea what could be the cause of this or how to fix this?
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 [ AuthApiError ]: Invalid Refresh Token: Refresh Token Not Found ]
SupabaseSSupabase / help-and-questions
14mo ago
Invalid Refresh Token
SupabaseSSupabase / help-and-questions
4y ago
Next.js - Refresh token not found
SupabaseSSupabase / help-and-questions
13mo ago
Invalid Refresh Token: Already Used: SSR NextJS
SupabaseSSupabase / help-and-questions
14mo ago