Describe the bug
The EntityTooLarge xml error response is missing the ProposedSize and MaxSizeAllowed properties.
To Reproduce
aws s3api create-bucket --bucket test
// create a 6gb(larger than 5gb file)
// e.g. mkfile 6gb file.bin
aws s3api put-object --bucket test --key obj --body file.bin --debug
Expected behavior
The EntityTooLarge xml error response after the PutObject call should look like:
<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>EntityTooLarge</Code><Message>Your proposed upload exceeds the maximum allowed size</Message><ProposedSize>6442450944</ProposedSize><MaxSizeAllowed>5368709120</MaxSizeAllowed><RequestId>MMJ77JNG2E67ZJGM</RequestId><HostId>WXqgi9QKn4LxUkphL8GWMBj8LhoIqA0cEon7IL3fIeDVGztJb8dKXK8ZClStSzd3i4dDnq2wucg=</HostId></Error>
Describe the bug
The
EntityTooLargexml error response is missing theProposedSizeandMaxSizeAllowedproperties.To Reproduce
Expected behavior
The
EntityTooLargexml error response after thePutObjectcall should look like: