Hi,
I am debugging a Supabase real-time push notification pipeline.
Expected behavior: When a row is inserted into “messages” table, Database Webhook should call an Edge Function (push_message), which then sends a Firebase Cloud Messaging push notification.
Actual behavior: The INSERT works. The DB trigger fires. But the Edge Function receives ZERO requests. No invocation appears in logs.
Important: • Edge Function works when invoked manually • FCM works manually • Webhook created from dashboard • Authorization header added (service_role) • pg_net installed • No SQL errors • Logs show nothing reaches the function
So the database event happens but Supabase never calls the function.
Is this a known issue with Database Webhooks → Edge Functions? Or am I missing a required configuration?
Thank you.
The user is experiencing an issue where a database webhook is not triggering an Edge Function as expected. The setup involves inserting a row into a table, which should trigger a webhook to call an Edge Function that sends a push notification via Firebase Cloud Messaging. The Edge Function works when invoked manually, but no requests are logged when triggered by the webhook.
Is your service_role the old style or the new secret key?