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

[aws-sdk-sqs] Aws::SQS::Types::SendMessageBatchResult#failed returns nil #2957

Closed
RyosukeNishi opened this issue Nov 24, 2023 · 8 comments
Closed
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@RyosukeNishi
Copy link

RyosukeNishi commented Nov 24, 2023

Describe the bug

Aws::SQS::Types::SendMessageBatchResult#failed is supposed to return Array<[Types::BatchResultErrorEntry] (ref) but returns nil.

Expected Behavior

Returns Array<[Types::BatchResultErrorEntry].

Current Behavior

Returns nil.

Reproduction Steps

res = sqs_client.send_message_batch({ queue_url: some_queue_url, entries: some_entries })
puts res.failed.inspect

Possible Solution

No response

Additional Information/Context

No response

Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version

aws-sdk-sqs (1.67.0)

Environment details (Version of Ruby, OS environment)

3.2.2, Debian 10

@RyosukeNishi RyosukeNishi added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 24, 2023
@mullermp
Copy link
Contributor

Thanks for opening an issue. SQS changed its underlying protocol. Which version of aws-sdk-core are you using?

@RyosukeNishi
Copy link
Author

I'm using aws-sdk-core (3.186.0).

@mullermp
Copy link
Contributor

Please upgrade to at least 3.187.1. I believe it should fix your issue.

@RyosukeNishi
Copy link
Author

@mullermp
Just in case, does downgrading to 1.65 still work?

@RyosukeNishi
Copy link
Author

RyosukeNishi commented Nov 24, 2023

Confirmed that I can avoid the issue by downgrading aws-sdk-sqs to 1.65.
I have yet to check if the issue is resolved by upgrading aws-sdk-core to 3.187.1.

@jdelStrother
Copy link

Just to confirm, at least in our case these upgrades fixed the issue:

-    aws-sdk-core (3.187.0)
+    aws-sdk-core (3.188.0)
-    aws-sdk-sqs (1.67.0)
+    aws-sdk-sqs (1.68.0)

@mullermp
Copy link
Contributor

I will go ahead and close this issue, please reopen if there's an issue with the latest versions.

Copy link

⚠️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. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants