-
| Hi community, I need help with this error I'm getting when I try to use Failure with this payload 👇🏼 resp = client.send_message_batch({ queue_url: "String", entries: [ { id: "String", # required message_body: "String", # required message_attributes: { "String" => { string_value: "String", string_list_values: [], binary_list_values: [], data_type: "String" }, }, message_deduplication_id: "String", message_group_id: "String", }, ], })Works successfully with this payload 👇🏼 resp = client.send_message_batch({ queue_url: "String", entries: [ { id: "String", # required message_body: "String", # required message_attributes: { "String" => { string_value: "String", data_type: "String" }, }, message_deduplication_id: "String", message_group_id: "String", }, ], })The difference I see is in messages = client.receive_message( queue_url: url, max_number_of_messages: batch_size, attribute_names: ['All'], message_attribute_names: ['All'] ).messagesAny ideas or solutions you can suggest to me? 🙏🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
| Hi @rsosag , Thanks for reaching out. Looking at the API docs for SQS, these two fields are explicitly documented as not implemented:
I'm not sure why this was released without being implemented, but from an SDK perspective we cannot add /remove fields as the SDK is code-generated directly from the API model of the various AWS services. You should not use these fields until they are documented as implemented by the SQS service. Thanks, |
Beta Was this translation helpful? Give feedback.
-
| Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @rsosag ,
Thanks for reaching out.
Looking at the API docs for SQS, these two fields are explicitly documented as not implemented:
I'm not sure why this was released without being implemented, but from an SDK perspective we cannot add /remove fields as the SDK is code-generated directly from the API model of the various AWS services. You should not use these fields until they are documented as implemented by the SQS service.
Thanks,
Ran~