© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
7 replies
dannyh

Permission denied for schema citext

Forgive me as I am not very familiar with the database roles & schema security. I'm following the PostGIS instructions for the citext extension.

Here is what I did:

create schema if not exists "citext";
create extension citext with schema "citext";
create schema if not exists "citext";
create extension citext with schema "citext";


I'm getting this error:
PostgrestException(message: permission denied for schema citext, code: 42501, details: Forbidden, hint: null)
PostgrestException(message: permission denied for schema citext, code: 42501, details: Forbidden, hint: null)


How can I fix this in a secure way?
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

ERROR: permission denied for table schema_migrations
SupabaseSSupabase / help-and-questions
5mo ago
ERROR: permission denied for schema public (SQLSTATE 42501)
SupabaseSSupabase / help-and-questions
5mo ago
Permission denied
SupabaseSSupabase / help-and-questions
3y ago
Supabase Webhook causes ‘permission denied for schema net’ error
SupabaseSSupabase / help-and-questions
3mo ago