© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
1 reply
jarrettsorensen

Using Supabase client to invoke another function

I'm trying to invoke another function from one of my edge functions using the supabase client and running into an issue doing this during local development. Hopefully someone can help me figure out how to fix this. I've added
kong
kong
to my
/etc/hosts
/etc/hosts
file in Windows and the redirect works in the browser, but not in the Supabase client

This is the code I'm using the call the other function
const updateResponse = await supabaseClient.functions.invoke(`update/${id}`, {
  body: updateBody,
  method: 'PUT',
});
const updateResponse = await supabaseClient.functions.invoke(`update/${id}`, {
  body: updateBody,
  method: 'PUT',
});
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

Cannot invoke edge function, using flutter and supabase_flutter package.
SupabaseSSupabase / help-and-questions
4y ago
Edge Functions - inconsistent results when running .invoke locally using supabase serve
SupabaseSSupabase / help-and-questions
8mo ago
Is it possible to invoke an edge function from web client?
SupabaseSSupabase / help-and-questions
4y ago
Getting an 204 status code without content using supabase.functions.invoke cause error
SupabaseSSupabase / help-and-questions
7mo ago