© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
1 reply
huh

Edge Function: Deno.supabase is undefined after deployment

Hi, I’m having trouble with my Supabase Edge Function.
After deploying with CLI v2.54.11, my function uses Deno.supabase.from('orders').insert(...), but I get this error: Cannot read properties of undefined (reading 'from') (this error is actually from my react native code)

- I’m calling the deployed endpoint (https://<my-project-ref>.functions.supabase.co/place-order) , not localhost.
- My code matches the official docs for Edge Functions.
- Is there a recent change to how Edge Functions access the Supabase client?
- How should I access the database in Edge Functions now?

Thanks for any help
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

Supabase Github Integration/Sync + Edge Function Deployment
SupabaseSSupabase / help-and-questions
4w ago
Supabase edge function issue
SupabaseSSupabase / help-and-questions
3w ago
Deno version in edge function
SupabaseSSupabase / help-and-questions
4y ago
import json deno edge function
SupabaseSSupabase / help-and-questions
4y ago