Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’7mo agoβ€’
8 replies
ΰΌ’π“šπ“ͺ𝓽π“ͺ𝓻𝓲𝓷π“ͺ ~ ΰ£ͺΛ– ִ֢ཐི༏ཋྀ

Grant EXECUTE Permission on public.http_request Function

Hey Supabase Admin,

I'm still stuck on a very persistent issue with my project (ID: nemluxhhfwegfpffpike).

Problem:
When I try to create a database trigger, it fails with:
ERROR: 42883: function public.http_request() does not exist
ERROR: 42883: function public.http_request() does not exist


What I've done (and confirmed):
1.
pg_net
pg_net
extension is enabled and confirmed to be installed in the
net
net
schema.
2. I've successfully run the SQL to
CREATE OR REPLACE FUNCTION public.http_request(...)
CREATE OR REPLACE FUNCTION public.http_request(...)
which internally calls
net.http_post
net.http_post
/
net.http_get
net.http_get
. This step shows "Success. No rows returned".
3. I've successfully run
GRANT EXECUTE ON FUNCTION public.http_request(text, text, jsonb, text, int) TO postgres;
GRANT EXECUTE ON FUNCTION public.http_request(text, text, jsonb, text, int) TO postgres;
to grant permissions.
4. I'm running each step in fresh SQL Editor tabs.

Despite
public.http_request
public.http_request
appearing to be created and permissions granted, the trigger still can't find it. It's behaving as if the function isn't visible to the
postgres
postgres
role or the trigger's context.

Could you please help investigate this? It feels like a deeper database state or visibility issue.

Thanks!
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

public.http_request() Function Not Found by Trigger
SupabaseSSupabase / help-and-questions
7mo ago
"permission denied for sequence http_request_queue_id_seq"
SupabaseSSupabase / help-and-questions
7mo ago
(solved) Edge Function that sends an HTTP request
SupabaseSSupabase / help-and-questions
4y ago
permission denied for sequence net.http_request_queue_id_seq
SupabaseSSupabase / help-and-questions
4w ago