ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
88 replies
Jean Wick

creating user profiles with signups

Hi,
I've been trying to automatically create a user profile along with a specific role for each user created that I get from a different roles table but somehow when I try to do so I am blocked completely after the first two users. It is a foreign key with the roles table and is an int8. I get an error 500 and then this message duplicate key value violates unique constraint "profiles_pkey". I am new to Supabase so I am a bit stuck understanding how to go about this issue. If I can get some help with that it would be great.
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
Next page

Similar Threads

New user signup not creating profiles table record in Supabase dev branch
SupabaseSSupabase / help-and-questions
7mo ago
Create user profiles from OAuth data
SupabaseSSupabase / help-and-questions
4y ago
RLS Enabled on auth.users Table Blocking User Signups
SupabaseSSupabase / help-and-questions
3mo ago
Creating Organisations with User Permissions with Supabase (Auth)
SupabaseSSupabase / help-and-questions
14mo ago