-
Notifications
You must be signed in to change notification settings - Fork 70
NoSuchBucket when BucketName doesn't have capital letter...? #86
Comments
Hi @mikestopcontinues
I got the following in serverless terminal
$ aws --endpoint http://localhost:8000 s3api put-object --bucket dev-apac-bucket --key test --body test
I got the following in serverless terimnal
I think that it works correctly. If you don't mind, could you share a project which reproduces your issue? |
I encountered the same problem and I was able to at least find a workaround. It seems that the AWS S3 client uses virtual hosted style requests if the name of your bucket looks like To work around this issue, when testing with the local s3, you can set the If anyone comes up with a more detailed explanation (or maybe even a fix in s3ver?!), I'd be really interested in the details. |
Thanks, @Panzki. That's a good find. |
@Panzki @mikestopcontinues |
For anyone using AWS SDK V3 ( |
Hi. I've come across a very weird error. It seems that I can use s3-local just fine with BucketName:
dev-apacBucket
, but I get 'NoSuchBucket' withdev-apac-bucket
. I suspect the error might be with this plugin rather than s3rver because when I access it directly, it seems to correctly read both bucket variants.Perhaps it's a version issue? Here's what I'm running:
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: