© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
24 replies
petoma

Webhook not invoking Edge Function

I have in my Supabase two projects and recently I began to create my first Edge function in one of the project. I achieved to have everything running, so I went ahead to follow the same process for the other project, however, the webhook that I have created is not invoking the Edge Function that I have deployed at all.

I have created the webhook so it invokes my already deployed edge function when a new row is inserted in one of my tables. The Edge Function is pretty simple as I just want to check that the flow process is running fine. This is the Edge Function:

import { serve } from "https://deno.land/std@0.168.0/http/server.ts";

console.log("Hello from Functions!")

serve(async (req) => {
  const payload = await req.json()
  console.log(JSON.stringify(payload, null, 2))

  return new Response("ok");
});
import { serve } from "https://deno.land/std@0.168.0/http/server.ts";

console.log("Hello from Functions!")

serve(async (req) => {
  const payload = await req.json()
  console.log(JSON.stringify(payload, null, 2))

  return new Response("ok");
});


However, when a new row is added in the specified table, I go to invokations or Logs in the Edge Functions and nothing shows up. It is as there is no webhook at all. I wonder what could be the issue as in my other project things work just fine and I see no difference between them.
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

Invoking Edge Function from Browser
SupabaseSSupabase / help-and-questions
4y ago
DB webhook not calling edge function
SupabaseSSupabase / help-and-questions
14mo ago
Invoking an edge function via Supabase trigger/function
SupabaseSSupabase / help-and-questions
3y ago
Mobile APP invoking edge function - error 500
SupabaseSSupabase / help-and-questions
14mo ago