Skip to content

Sporadic errors with client side storage upload #1539

@jakecollins1

Description

@jakecollins1

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Our product uses client side supabase storage to upload images to a supabase bucket. This largely is working, but lately we have been seeing sporadic instances of a couple different error messages:
StorageUnknownError: Failed to fetch (xxx.supabase.co)
StorageApiError: new row violates row-level security policy

To Reproduce

Hard to reproduce, happening at a low rate for users

Expected behavior

Consistent success with client side upload operations

Screenshots

Image

System information

"@sveltejs/kit": "^2.0.0",
"svelte": "^4.2.19",
node 20
"@supabase/ssr": "^0.6.1",
"@supabase/supabase-js": "^2.55.0"

In one error case, the user was using ios, mobile safari 18.5
They have also been seen on chrome mobile and chrome

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions