RLS violation when attempting to upload to storage on astro api endpoint
Relevant Packages:
I'm using anonymous sign in and i am passing the access token in the as an auth bearer as follows. The form data in this case is an array of images
in my
Checking the user, the user is authenticated as expected but i am getting a status code "403" "new row violates row-level security policy" error. I am not sure what is happeing. Any help would be great!
- "@supabase/supabase-js": "^2.50.2",
- "astro": "^5.10.1",
- "@astrojs/react": "^4.3.0",
- "react": "^19.1.0"
fetch in my react componentI'm using anonymous sign in and i am passing the access token in the as an auth bearer as follows. The form data in this case is an array of images
in my
api/photos endpoint, i am attempting to do the followingChecking the user, the user is authenticated as expected but i am getting a status code "403" "new row violates row-level security policy" error. I am not sure what is happeing. Any help would be great!



