Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Bucket name should not contain '/' #153

Open
pavanag2017 opened this issue Jul 18, 2019 · 0 comments
Open

Bucket name should not contain '/' #153

pavanag2017 opened this issue Jul 18, 2019 · 0 comments

Comments

@pavanag2017
Copy link

My Requirement is bucket contains 'parentBucket/folder1/folder2/folder3/abc.txt'.

While running mock, I get below error:

java.lang.IllegalArgumentException: Bucket name should not contain '/'

at com.amazonaws.services.s3.internal.BucketNameUtils.exception(BucketNameUtils.java:189)
at com.amazonaws.services.s3.internal.BucketNameUtils.isValidV2BucketName(BucketNameUtils.java:160)
at com.amazonaws.services.s3.internal.BucketNameUtils.validateBucketName(BucketNameUtils.java:47)
at com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:1042)
at com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:1011)

Can you please fix it asap.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant