-
Notifications
You must be signed in to change notification settings - Fork 50
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
SQS - Fail to receive messages when attributeNames and messageAttributeNames requested #962
Comments
I'm not able to replicate this. My SDK properly deserializes a Can you share more information about your environment? Also, the AWS SDK for Kotlin version 1.7 doesn't exist. |
I've run into this myself, using Kotlin 1.8.10 and this Maven dependency declaration:
In my experience, the bug only occurs when attempting to deserialise messages when the request includes both system attributes ( Debugging through the deserialisation it appears that the code expecting to process the system attributes is also being given the message attributes to deserialise, and of course those have a different schema in the response. |
I'm using kotlin 1.7.0 with JDK 11. |
Thanks! I was able to replicate the issue after another try and we're working on a fix now. |
A fix has been merged in smithy-lang/smithy-kotlin#879, you can expect this to be shipped in next week's release. Thanks for the report! |
|
Describe the bug
When ReceiveMessageRequest sent with both attributeNames and messageAttributeNames , response handling fail with DeserializationException .
AWS JAVA SDK with same request attributes works fine.
Expected behavior
To receive message with its attributes and messageAttributes
Current behavior
fail with error
Steps to Reproduce
See example
Possible Solution
No response
Context
No response
AWS Kotlin SDK version used
1.7
Platform (JVM/JS/Native)
JVM
Operating System and version
linux and macos
The text was updated successfully, but these errors were encountered: