Skip to content

[Bug] - The InvalidAccessKeyId error should include AWSAccessKeyId in the xml response #2042

@niksis02

Description

@niksis02

Describe the bug
The InvalidAccessKeyId is missing the AWSAccessKeyId property in the xml response.

To Reproduce
Configure the aws cli with an access key id, which does not exist and make any s3api call.

Expected behavior
An example xml response should look like the following:

<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>something</AWSAccessKeyId><RequestId>6J3PDT3BWZH60X21</RequestId><HostId>9ruADyDIVUpRAHP0l9+lmj6cdzOBnebmsnK2t6Mlz0ON56todZ8KtHCvwJN5IVCef+T539V2eefK3nvdxQAAZGEMvAHkkK8S</HostId></Error>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions