Closed aleferreiranogueira closed 6 years ago
@p4tin Can you please create a release and update the docker image ? I need this fix :)
@williamdes In the meantime you can use nednisw/goaws. I've build it a few minutes ago, it is using the current master.
When sending a message, the AWS Client will validate the field
MD5OfMessageAttributes
only if it's present in the payload.Apparently, the
SendMessage
function ingosqs.go
is appending the fieldMD5OfMessageAttributes
regardless of the payload having 'MessageAttributes'. This causes the AWS Client validation to fail.AWS SDK
Stacktrace
Apparently the solution is only to not put the "MD5OfMessageAttributes" if the "MessageAttributes" is not present.
I would open a PR to this, but I'm not quite sure if I'm going to have time anytime soon.
Thanks,