0
votes

I am trying to create an s3-bucket in my aws account using postman. see below screenshot

enter image description here

I just pass Host:divyeshjjjjjj.s3.amazonaws.com in header and in Authorization see below image.

enter image description here

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? please, help if you can!

1
No need to add HTTP/1.1 in the URL bar. - Adeel Ahmed
okay...I tried both ways(with and without). - Divyesh Jesadiya

1 Answers

1
votes

The URL line should always have / while creating a bucket, nothing else. In your case, it's 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.