Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
1 reply
Grantly

Function uuid_generate_v4() does not exist (SQLSTATE 42883)

Getting Error:
Function uuid_generate_v4() does not exist (SQLSTATE 42883)
Function uuid_generate_v4() does not exist (SQLSTATE 42883)

Is this just that we need add extensions before our use of uuid_generate_v4()?
extensions.uuid_generate_v4()
extensions.uuid_generate_v4()


Or would you actually create the extension?

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
SET search_path TO public, extensions;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
SET search_path TO public, extensions;


I am a bit confused because, my migrations always worked, now they are having an issue?
I am also confused because I can see in my Dashboard that uuid-ossp is installed by default? If I am running a db reset, is it just "not aware" of that?

Thanks for any help!
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

function uuid_generate_v4() does not exist
SupabaseSSupabase / help-and-questions
4y ago
Upgraded to latest CLI and now ERROR: function uuid_generate_v4() does not exist (SQLSTATE 42883)
SupabaseSSupabase / help-and-questions
2mo ago
operator does not exist uuid = text
SupabaseSSupabase / help-and-questions
4y ago
operator does not exist jsonb ? uuid
SupabaseSSupabase / help-and-questions
4y ago