© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
2 replies
Masini

CLI: 'supabase login' command returns 404

Hello,

I'm facing a strange error that I've never encountered before with the CLI.

I run
npx supabase login
npx supabase login


I successfully get redirected to the browser, where I find my temporary device code to authenticate my client.

I copy and paste it in the terminal.

An error is returned
Error status 404:
Error status 404:


No other info. I ran it with the
--debug
--debug
flag, but the same error is returned with no extra info. The only extra logs is the GET request sent to
api.supabase.com
api.supabase.com
which performs the login attempt.

FYI I ran this command countless times before and it always worked. So I have no idea what the problem is.

Also, I generated an access token from the dashboard as well and did actually to successfully login with it, however when I tried to import my database types through the
supabase gen types
supabase gen types
command I got another error that I wasn't authorized.
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

Supabase login CLI blocked
SupabaseSSupabase / help-and-questions
4w ago
Supabase cli login (macOs)
SupabaseSSupabase / help-and-questions
6mo ago
Supabase CLI
SupabaseSSupabase / help-and-questions
2mo ago
Vercel > Supabase 404
SupabaseSSupabase / help-and-questions
4mo ago