TUS resumable to Storage - strange 404 (works with local supabase) - bucket definitely exists

Hello - I am getting an unexpected 404 using code that was tested with a local supabase setup. I can confirm that the bucket exists. I attached the request log from Supabase storage logs. For the storage policies, they are quite simple for the test, and match the local setup:
CREATE POLICY "[AuthedUser][lab-feed][SELECT]"
ON storage.objects
FOR SELECT
TO authenticated
USING (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][INSERT]"
ON storage.objects
FOR INSERT
TO authenticated
WITH CHECK (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][UPDATE]"
ON storage.objects
FOR UPDATE
TO authenticated
USING (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][DELETE]"
ON storage.objects
FOR DELETE
TO authenticated
USING (
bucket_id = 'lab-feed'
);
CREATE POLICY "[AuthedUser][lab-feed][SELECT]"
ON storage.objects
FOR SELECT
TO authenticated
USING (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][INSERT]"
ON storage.objects
FOR INSERT
TO authenticated
WITH CHECK (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][UPDATE]"
ON storage.objects
FOR UPDATE
TO authenticated
USING (
bucket_id = 'lab-feed'
);

CREATE POLICY "[AuthedUser][lab-feed][DELETE]"
ON storage.objects
FOR DELETE
TO authenticated
USING (
bucket_id = 'lab-feed'
);
I'm hoping it's a simple permissions error, but I can't seem to find it. Any help is greatly appreciated!
1 Reply
silentworks
silentworks4w ago
A 404 would not be caused by a permission issue.

Did you find this page helpful?