You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The X-Amz-Optional-Object-Attributes header is serialized as the empty string when no values are provided in the list. It should be omitted instead.
This isn't a new behavioral error per se, in the sense that this bad serialization behavior is pre-existing, but the S3 API update from yesterday has made it visible. All operations that have an enum list field would serialize this to an empty header when given no input, it'll depend on the individual service/operation whether that results in a request failure.
As an aside, the Go v2 SDK appears to serialize this correctly.
lucix-aws
added
p1
This is a high priority issue
p0
This issue is the highest priority
and removed
needs-triage
This issue or PR still needs to be triaged.
p1
This is a high priority issue
labels
Jun 29, 2023
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.
Describe the bug
Upgrading to v1.44.292 resulted in an error:
Our code goes something like this:
Expected Behavior
The only thing changed is the version, so I expect this call to continue working
Current Behavior
It fails with mentioned message
Reproduction Steps
See description
Possible Solution
No response
Additional Information/Context
No response
SDK version used
v1.44.292
Environment details (Version of Go (
go version
)? OS name and version, etc.)go version go1.20.5 darwin/arm64
The text was updated successfully, but these errors were encountered: