-
Notifications
You must be signed in to change notification settings - Fork 131
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
serverless-offline-sqs breaks when upgrading @aws-sdk from 3.226.0 to 3.556.0 #260
Comments
Do I need to update my |
Hello, I have almost same issue with different dependencies
My dependencies:
Its working with aws-sdk (v2) but not with @aws-sdk/client-sqs (v3) If someone has a clue ?? I can help myself but I don't know where to look ! |
@aws-sdk/client-sqs has changed to use JSON as the communication protocol and expects to receive it since version v3.447.0 More information here: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-json-faqs.html#json-protocol-getting-started Those errors sound like JSON parsing encounters xml content and fails because of that. Maybe its elastic mq which should be updated accordingly? Anyways I'm stuck with the same issue currently. |
Turns out elasticmq was the issue. After bumping to a more recent version it started working out of the box for me. |
I was getting this error:
it never crossed my mind that the problem could be @terozio thank you for posting it |
Library version:
Breaking code:
Stack trace:
What it's trying to parse:
How I tried fixing it:
The text was updated successfully, but these errors were encountered: