Replies: 2 comments 7 replies
-
|
UPDATE: I can now confirm the root cause with evidence from my own instance. Running the following query in my SQL editor: SELECT column_name, generation_expression Returns: This confirms that auth.identities.email is a GENERATED ALWAYS AS column on my instance. GoTrue is still attempting to insert email explicitly on every signup, producing error 428C9 and failing every user creation attempt. auth.users count remains at 0. The fix needed (requires supabase_auth_admin — I cannot run this myself): ALTER TABLE auth.identities ALTER COLUMN email DROP EXPRESSION; This is a confirmed match to the root cause identified in community reports from April 2026. This has been blocking all signups for several days and is holding up a product launch. I now have a precise, verified diagnosis and a one-line fix. Please treat this as urgent. Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
That generate always as is what it should be. If there is not email then the column gets set to null with no error. Check the Postgres logs for the exact error. It will likely point to you having an auth.users trigger function failing or an auth hook failing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hoping someone here has hit this before.
After my free-tier project paused due to inactivity and was resumed, all signups now fail with "Database error saving new user." Tested in clean incognito — consistent, not intermittent.
Diagnostics so far:
SELECT count(*) FROM auth.users;→ 0, stable across repeated runsSELECT count(*) FROM public.profiles;→ 1 (orphaned row, no matching auth.users entry)SELECT count(*) FROM auth.schema_migrations;→ 76 rows (restored)What I believe the fix is:
Based on reading around this failure mode, I think support needs to run something like:
...but project owner permissions return "permission denied" on auth.schema_migrations writes, so I can't do it myself. Support ticket open (several days, no resolution yet).
Has anyone else hit this after a pause/resume cycle? Did support's fix match the above, or was it something different? Any way to unblock this without waiting on the ticket queue?
Project is on free tier, Supabase-managed auth (not custom), no recent schema changes on my side.
Beta Was this translation helpful? Give feedback.
All reactions