[英]aws s3 bucket not created using postman
I am trying to create an s3-bucket in my aws account using postman.我正在尝试使用邮递员在我的 aws 帐户中创建一个 s3-bucket。 see below screenshot看下面的截图
I just pass Host:divyeshjjjjjj.s3.amazonaws.com in header and in Authorization see below image.我只是在标题和授权中传递Host:divyeshjjjjj.s3.amazonaws.com ,见下图。
and body as none.和身体无。 but every time i requesting it is giving me below response.但每次我请求它都会给我以下回复。
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>divyeshjjjjjj</BucketName>
<RequestId>FD3A666A6D53532F</RequestId>
<HostId>TggknsaHzbwQi3y+k0hPCRAWq+z2XOGDrc7SX+ucvLQ2uuOIbHzYnfFClhwMyS09Q2WvDA2pBsE=</HostId>
</Error>
i am surfing from past 2 days don't know what problem is?我从过去 2 天上网不知道是什么问题? please, help if you can!如果可以的话请帮忙!
The URL line should always have /
while creating a bucket, nothing else.在创建存储桶时,URL 行应该始终包含/
,没有别的。 In your case, it's doc/2003-06-01
.在您的情况下,它是doc/2003-06-01
。 It seems you are trying to create a folder/object in your bucket.您似乎正在尝试在存储桶中创建文件夹/对象。 We can't have nested buckets in S3.我们不能在 S3 中嵌套存储桶。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.