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

message attributes setting from previous call #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

puneetsngh
Copy link

@puneetsngh puneetsngh commented Aug 18, 2021

Error

Traceback (most recent call last):
  File "sqs.py", line 25, in <module>
    send_message()
  File "sqs.py", line 17, in send_message
    raise ValueError("Message attribute name {} is reserved for use by SQS extended client.".format(SQSExtendedClientConstants.RESERVED_ATTRIBUTE_NAME.value))
ValueError: Message attribute name SQSLargePayloadSize is reserved for use by SQS extended client.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

PR type

  • Feature
  • TechDebt
  • Bugfix
  • Other

Changelog updated

  • Yes
  • No

Breaking changes

  • Yes
  • No

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • PR has been appropriately with a meaning tag

Error

```
Traceback (most recent call last):
  File "sqs.py", line 25, in <module>
    send_message()
  File "sqs.py", line 17, in send_message
    raise ValueError("Message attribute name {} is reserved for use by SQS extended client.".format(SQSExtendedClientConstants.RESERVED_ATTRIBUTE_NAME.value))
ValueError: Message attribute name SQSLargePayloadSize is reserved for use by SQS extended client.
```
Copy link

@patrys patrys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This caused the same instance of message attributes to be reused for multiple messages.

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

Successfully merging this pull request may close these issues.

2 participants