© 2026 Hedgehog Software, LLC

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

Persistent DNS Lookup Failure (ENOTFOUND) for Auth Token Refresh

I am experiencing an getaddrinfo ENOTFOUND error when attempting to refresh a user token using the refresh_token grant type. This issue is preventing users from maintaining an authenticated session within my application.

I have already double-checked my implementation and confirmed the following:

The request URL is correct and does not contain any typos. The domain name, <MY_PROJECT_ID>.supabase.co, is correctly taken from my Supabase dashboard.

The project ID is accurate.

The Content-Type header is set to application/json.

The request body correctly includes the refresh_token field.

Despite these checks, the DNS lookup fails consistently, suggesting a potential issue with the domain's resolution on the server side.

Request Details
HTTP Method: POST

Endpoint: https://<MY_PROJECT_ID>.supabase.co/auth/v1/token?grant_type=refresh_token

Request Body (JSON):

{
"refresh_token": "a_valid_refresh_token"
}

Full Error Message:

POST https://<MY_PROJECT_ID>.supabase.co/auth/v1/token?grant_type=refresh_token
Error: getaddrinfo ENOTFOUND <MY_PROJECT_ID>.supabase.co

Could you please investigate this DNS lookup failure on your end? Any assistance in diagnosing this issue would be greatly appreciated.

Thank you
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

Iframe refresh token (auth)
SupabaseSSupabase / help-and-questions
7mo ago
Auth ?grant_type=refresh_token 429
SupabaseSSupabase / help-and-questions
8mo ago
sb-access-token,sb-refresh-token VS supabase-auth-token?
SupabaseSSupabase / help-and-questions
4y ago
Persistent branch rollback failure
SupabaseSSupabase / help-and-questions
6mo ago