© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
18 replies
Othman

DB trigger can't find supabase.httpRequest() function

I have this trigger
CREATE trigger "get_conversation_detail" after insert on 
"public"."interview" for each row 
execute function "supabase_functions"."http_request"(
  'https://dujoqwrvmrvcgliupzkd.supabase.co/functions/v1/get-conversation-details',
  'POST',
  '{"Content-Type":"application/json",
  "Authorization":"Bearer "}',
  '{"interview_id":"95fbd144-e05a-4e1b-98b5-f064d6da84c6",
    "conversation_id":"EUSBkgmGyih7er3xTjn0"
  }',
  5000
)
CREATE trigger "get_conversation_detail" after insert on 
"public"."interview" for each row 
execute function "supabase_functions"."http_request"(
  'https://dujoqwrvmrvcgliupzkd.supabase.co/functions/v1/get-conversation-details',
  'POST',
  '{"Content-Type":"application/json",
  "Authorization":"Bearer "}',
  '{"interview_id":"95fbd144-e05a-4e1b-98b5-f064d6da84c6",
    "conversation_id":"EUSBkgmGyih7er3xTjn0"
  }',
  5000
)


when i run this query

`INSERT INTO public.interview (candiate_id,conversation_id,meeting_id, agent_id)
VALUES ('50616f55-86a4-4b91-8a04-b507f3f6bbab', 'lXQHtdrHqiveGaYo9kLi', 'lXQHtdrHqiveGaYo9kLi', 'lXQHtdrHqiveGaYo9kLi');
`INSERT INTO public.interview (candiate_id,conversation_id,meeting_id, agent_id)
VALUES ('50616f55-86a4-4b91-8a04-b507f3f6bbab', 'lXQHtdrHqiveGaYo9kLi', 'lXQHtdrHqiveGaYo9kLi', 'lXQHtdrHqiveGaYo9kLi');


it fails as it can't find the httpRequest method
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

find supabase db password
SupabaseSSupabase / help-and-questions
4y ago
Can't upload supabase edge function
SupabaseSSupabase / help-and-questions
5w ago
Trigger edge function - find caller location
SupabaseSSupabase / help-and-questions
3mo ago
Invoking an edge function via Supabase trigger/function
SupabaseSSupabase / help-and-questions
3y ago