aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 557 forks source link

The request must contain the parameter MessageHandle #6092

Closed jeremy-brooks closed 1 month ago

jeremy-brooks commented 1 month ago

Describe the issue

The docs are missing a 3rd parameter which seems to be requried for a delete message command to work: "MessageHandle"

This needs to be the message ID of the message being deleted I think.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/DeleteMessageCommand/

aBurmeseDev commented 1 month ago

Hi @jeremy-brooks - thanks for reaching out.

I've come across a similar post in the past and my colleague mentioned in a comment that it might be when null value gets passed into receiptHandle. Let me know if that's the same behavior you're seeing or should I look further into it.

Best, John

github-actions[bot] commented 1 month ago

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

github-actions[bot] commented 3 weeks ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.