Skip to content

Issue with creating buckets by the AWS S3 SDK #4

Description

@towerbit
try
{
  var putBucketRequest = new PutBucketRequest { BucketName = "newBucket" };
  var putResponse = await s3Client.PutBucketAsync(putBucketRequest);
  Console.WriteLine($"Bucket '{bucketName}' created.");
}
catch (AmazonS3Exception ex)
{
    Console.WriteLine($"AWS S3 Error: {ex.Message}");
}

Will recieve AWS S3 Error: Invalid bucket name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions