SupabaseS
Supabase3mo ago
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

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:

No other info. I ran it with the --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 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 command I got another error that I wasn't authorized.
Was this page helpful?