storage 403 error
I created a custom bucket and defined RLS policies for
Yesterday, everything worked fine — the policies allowed access as expected.
However, after running a DB reset and reapplying the exact same policies, they no longer work. I'm getting 403 errors when trying to access the storage, even though nothing has changed in the code or policy definitions.
I'm using Next.js and uploading via the service_role key on the server side. I've double-checked the key and configuration multiple times, so I believe that's not the issue.
storage.objects using the Supabase UI.Yesterday, everything worked fine — the policies allowed access as expected.
However, after running a DB reset and reapplying the exact same policies, they no longer work. I'm getting 403 errors when trying to access the storage, even though nothing has changed in the code or policy definitions.
I'm using Next.js and uploading via the service_role key on the server side. I've double-checked the key and configuration multiple times, so I believe that's not the issue.
