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

[[BUG] - application/x-amz-json-1.0 #660

Open
SalvatorePreviti opened this issue Nov 16, 2023 · 1 comment
Open

[[BUG] - application/x-amz-json-1.0 #660

SalvatorePreviti opened this issue Nov 16, 2023 · 1 comment
Assignees

Comments

@SalvatorePreviti
Copy link

SalvatorePreviti commented Nov 16, 2023

Is your feature request related to a problem? Please describe.

I am still investigating but it seems that the new versions of the AWS SDK client @aws-sdk/client-sqs is sending an Unsupported Media Type application/x-amz-json-1.0 that fails with the current version.

SQSError: SQS receive message failed: Unsupported Media Type: application/x-amz-json-1.0
at toSQSError (/x/node_modules/sqs-consumer/dist/errors.js:42:22)
at Consumer.receiveMessage (/x/node_modules/sqs-consumer/dist/consumer.js:190:43)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'FST_ERR_CTP_INVALID_MEDIA_TYPE',
statusCode: 415,
retryable: undefined,
service: undefined,
fault: 'client',
time: 2023-11-16T17:00:26.666Z
}

Describe the solution you'd like

Support for the new aws sdk client, and, application/x-amz-json-1.0

Describe alternatives you've considered

Still researching

Additional context

@SalvatorePreviti SalvatorePreviti changed the title [[FEATURE] - application/x-amz-json-1.0 [[BUG] - application/x-amz-json-1.0 Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants