Closed kirrg001 closed 1 year ago
We have only tested this with 3.241.0
so far so we'll have to look into the reason for that, it's possible that AWS SDK requires a new option but I have not seen that before.
Hmm, so I've just updated sqs-consumer and sqs-producer to the latest versions available and they both appear to be working on the latest version of aws-sdk 3.253.0
and then to 3.258.0
, we have integration tests that are passing so I don't appear to be able to find the issue here.
Do you have options.sqs configured in your implementation?
It's possible that there's something in that that's causing the error, or I just haven't looked hard enough yet.
I am not using sqs-producer. I am using the client lib from @aws-sdk/client-sqs@3.53.0.
const awsSdk3 = require('@aws-sdk/client-sqs');
const sqs = new awsSdk3.SQSClient({ region: awsRegion });
await sqs.send(command);
An update: Sorry I've been out and about recently and didn't get a notification for this reply, or it was buried, apologies for that.
I'm still trying to understand the issue, from the code provided, and my own tests, theoretically this should work perfectly fine, I'll do some further investigation though to see if I can find out more.
Not been able to find the reason for this and it doesn't appear to be an issue elsewhere, so I'm afraid I can only really close this issue.
If you'd like to continue the conversation then please raise a discussion, outside of that, I don't think there's much that we can do here, sorry.
Describe the bug
When using a different version of @aws-sdk/client-sqs in my app to send a message, the sqs-consumer throws the following error:
I guess the versions are not compatible? But they should be or because it's the same major version?
Your minimal, reproducible example
Install latest version of @aws-sdk/client-sqs in your app, send a message with this sdk version and receive the message in a different process with sqs-consumer@latest.
Steps to reproduce
Described above :)
Expected behavior
Expected that it does not throw the error.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
osx monterey
Package version
6.2.0
AWS SDK version
3.53.0
Additional context
No response