Issue: SESv2 send_bulk_email replacement_template_data type inconsistency and unusable in Ruby SDK #3270
-
When using Aws::SESV2::Client#send_bulk_email, no matter the format passed to replacement_template_data (Hash or String JSON), the SDK throws the following error:
To Reproduce Attempt 1: Passing Hash
Result: Attempt 2: Passing String JSON
Result: Expected behavior According to the AWS SESv2 API Reference, replacement_template_data should be a String JSON. The SDK: 🚨 Question ✅ Is this a bug in parameter validation in the Ruby SDK SESv2 client? Any guidance would be highly appreciated as this is critical for production bulk email workflows. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey - are you using the latest gem version? The error indicates that no such param value should exist, which was probably true for an older version. |
Beta Was this translation helpful? Give feedback.
I see the issue. The structure should be:
Check the example usage here: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#send_bulk_email-instance_method