Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK does not deserialize s3control's signature error correctly #864

Closed
3 tasks done
jasdel opened this issue Oct 29, 2020 · 1 comment · Fixed by #875
Closed
3 tasks done

SDK does not deserialize s3control's signature error correctly #864

jasdel opened this issue Oct 29, 2020 · 1 comment · Fixed by #875
Labels
bug This issue is a bug.

Comments

@jasdel
Copy link
Contributor

jasdel commented Oct 29, 2020

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug
The SDK doesn't successfully parse error code and message from the signature error returned by S3 control. Example of error message in #863

Version of AWS SDK for Go?
v0.28.0

Version of Go (go version)?
v1.15.1

To Reproduce (observed behavior)
Make API call to s3control that results in invalid signature.

Expected behavior
Error to have code of SignatureDoesNotMatch and message of The request signature we calculated does not match the signature you provided. Check your key and signing method.

Got
2020/10/29 08:25:24 request failed, operation error S3 Control: ListJobs, https response error StatusCode: 403, RequestID: 81C695261D5B0C66, HostID: Jm3tTRaXSHjE7u4r5Thd8DTqm8Aq6wlqd44EhMgWKsMEaQE8zBp+1k9Mqv9daT/70mPhoCrMq2c=, api error UnknownError: UnknownError

See #863 for wirelog.

@github-actions
Copy link

github-actions bot commented Nov 9, 2020

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant