© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
4 replies
jksusi

Error while uploading image to storage bucket

I have a storage bucket, where I could upload and read images. With the help of supabase AI, created an edge function to generate a thumbnail image whenever an image is uploaded. And a webook (I think in the database functions) to trigger the edge function. After that I couldn't upload files and getting this error.

Error uploading image: {"code": "DatabaseError", "error": "DatabaseError", "message": "insert into "objects" ("bucket_id", "metadata", "name", "owner", "owner_id", "user_metadata", "version") values ($1, DEFAULT, $2, $3, $4, DEFAULT, $5) - record "new" has no field "mime_type"", "statusCode": "500"}

Any help is appreciated.
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

Network error when uploading to storage bucket
SupabaseSSupabase / help-and-questions
4y ago
running into an error while uploading an image to storage
SupabaseSSupabase / help-and-questions
4y ago
Getting Unauthenticated Error While uploading files to a public bucket
SupabaseSSupabase / help-and-questions
4mo ago
Issue in uploading file to S3 bucket or storage
SupabaseSSupabase / help-and-questions
14mo ago