© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
28 replies
drennz

Supabase Webhook causes ‘permission denied for schema net’ error

Hi! I created a Database Webhook that triggers an Edge Function whenever a new row is inserted/updated into a table.
The Edge Function then calls a 3rd-party API to send telegram notification

However, after creating the webhook, inserting into the table throws this error:

Error:
Failed to run sql query: ERROR: 42501: permission denied for schema net QUERY: SELECT http_post FROM net.http_post( url, payload, params, headers, timeout_ms ) CONTEXT: PL/pgSQL function http_request() line 54 at SQL statement
Failed to run sql query: ERROR: 42501: permission denied for schema net QUERY: SELECT http_post FROM net.http_post( url, payload, params, headers, timeout_ms ) CONTEXT: PL/pgSQL function http_request() line 54 at SQL statement


I’m using pg_net version 0.7.1 and PostgreSQL version 15.1.1.3, and I’ve been dealing with this issue for about a week...

Any help would be greatly appreciated
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

Database Webhook causes ‘permission denied for schema net’ error
SupabaseSSupabase / help-and-questions
3mo ago
Permission denied for schema citext
SupabaseSSupabase / help-and-questions
13mo ago
ERROR: permission denied for table schema_migrations
SupabaseSSupabase / help-and-questions
5mo ago
Trigger on auth.users causes permission denied for schema public
SupabaseSSupabase / help-and-questions
3y ago