localstack-persist icon indicating copy to clipboard operation
localstack-persist copied to clipboard

Inconsistent uploads to S3 folders and subfolder structures despite 204

Open brian-carnot opened this issue 9 months ago • 4 comments

I managed to recreate the behavior with the following, but as more and more folders get added it becomes hard for me to fully track the pattern.

I have 1 bucket:

s3://user-files/

The first time I upload something I do it to the following pattern:

s3://user-files/UUID_1/UUID_2/file_name

This returns 204 but the file never shows up. If I try to delete it, I get a 404.

However, if I upload something to either s3://user-files/UUID_1/ or s3://user-files/UUID_1/UUID_2/ then it works the following time and all following times.

If I pre-create s3://user-files/UUID_1/UUID_2/ then the file upload never fails.

brian-carnot avatar May 03 '24 08:05 brian-carnot