© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
2 replies
Mathew.Maartens

Edge Function supporting S3 operation - AWS S3 SDK

So I have an edge function that observes a 'files' table (files table captures metadata information of raw file objects stored). Every time an entry from that table gets deleted, it triggers an Edge Function that will delete an s3 object from a remote s3 endpoint (in my case, IDrive). Therefore, I am using the AWS javascript v3 sdk.

1st image: how I'm creating the client.
2nd image : how I'm creating the DeleteObjectRequest (I checked, the key isn't null)
3rd image : how I am sending it
4th image : the error (formatted)

I believe there was a slightly similar error, but I didn't manage to follow along enough for me to solve my version. This error also appears slightly different, and it was somewhat awhile ago, hopefully there is a solution to this?

After some searching, I think it has to do with trying to access a filing system, but apparently Deno operates in an isolated environment so the concept of a filing system does not apply? However, if there are any solutions or advice, it would be greatly appreciated.
image.png
image.png
image.png
image.png
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Uploading to aws s3 through edge function not working
SupabaseSSupabase / help-and-questions
14mo ago
Unable to use AWS SDK v3 in edge functions.
SupabaseSSupabase / help-and-questions
13mo ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago
Open AI Agent SDK inside Supabase Edge function
SupabaseSSupabase / help-and-questions
8mo ago