triniwiz / nativescript-aws-sdk

Apache License 2.0
17 stars 15 forks source link

Can't able to upload file when bucket contains dot or period #4

Open san18793 opened 6 years ago

san18793 commented 6 years ago

When I am trying to upload a file with the bucket name contains a dot example abc.123 it is showing error as Upload Failed :-> The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: F5A904CXXXXXXXXX)

And when I am trying to update the same file with the bucket name as abc-123 it is working fine