© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
2 replies
Yuki Arai

Supabase Auth /token API 429 rate limit reached

summary


I'm getting a rate limit error with the superbase auth API.
I'd like to resolve this, so any information would be greatly appreciated.

detail


This error tends to occur when refreshing a token.

I suspect the cause is excessive calls to the token API somewhere.

I'm using Next.js for this full-stack application. The middleware only calls the token once.

I've also considered various other possibilities.

I created a createClient similar to the one in the following article and use it in many files.

https://supabase.com/docs/guides/auth/server-side/creating-a-client?queryGroups=environment&environment=server

I seem to remember seeing information online that suggests there's a specific time to call the token within createClient, so this might be the problem.

Any information would be greatly appreciated.
2025-07-28_11.31.07.jpg
Creating a Supabase client for SSR | Supabase Docs
Configure your Supabase client to use cookies
Creating a Supabase client for SSR | Supabase Docs
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

rate limit - supabase auth: many requests to "/token"
SupabaseSSupabase / help-and-questions
2w ago
Supabase Auth hitting rate limit 429 too often in development
SupabaseSSupabase / help-and-questions
3y ago
Rate limiting on supabase.auth.getUser(token)
SupabaseSSupabase / help-and-questions
4w ago
Supabase JS rate limit
SupabaseSSupabase / help-and-questions
4mo ago