Expected Behavior
listObjects should return NoSuchBucket error when there is a prefix.
Current Behavior
listObjects doesn't return NoSuchBucket error when there is a prefix with Minio.
S3 does return NoSuchBucket.
Steps to Reproduce (for bugs)
Run this script with the bucket not existing:
s3 = boto3.client(
"s3",
endpoint_url="http://localhost:9000",
aws_access_key_id="minioadmin",
aws_secret_access_key="minioadmin",
)
s3.list_objects(Bucket="your-unique-bucket-name-2039750257078", Prefix="/")
It doesn't raise NoSuchBucket exception (the result is an empty list)
If you run on S3, it raises NoSuchBucket exception.
Regression
Yes. It was working on RELEASE.2024-01-29T03-56-32Z.
It started not working from RELEASE.2024-01-31T20-20-33Z
Your Environment
- Version used (
minio --version): RELEASE.2026-04-17T00-00-00Z (go1.26.2 linux/arm64)
- Server setup and configuration:
- Operating System and version (
uname -a):
Expected Behavior
listObjectsshould returnNoSuchBucketerror when there is a prefix.Current Behavior
listObjectsdoesn't returnNoSuchBucketerror when there is a prefix with Minio.S3 does return
NoSuchBucket.Steps to Reproduce (for bugs)
Run this script with the bucket not existing:
It doesn't raise
NoSuchBucketexception (the result is an empty list)If you run on S3, it raises
NoSuchBucketexception.Regression
Yes. It was working on
RELEASE.2024-01-29T03-56-32Z.It started not working from
RELEASE.2024-01-31T20-20-33ZYour Environment
minio --version):RELEASE.2026-04-17T00-00-00Z (go1.26.2 linux/arm64)uname -a):