I've been using AWS Simple Notification Service (SNS) to send messages, but I'm facing an issue where my content gets cut off. According to the documentation, SNS should automatically split messages into multi-part if they exceed a certain limit. However, that's not happening for me. For example, I'm sending notifications about price changes for hotels, and I'm only getting a truncated version of the message. Any ideas on what might be going wrong?
1 Answer
One thing to note is that SNS doesn't actually have a true multi-part feature. The limit is 256 KB for the payload, which includes both attributes and the message. If your messages are under that size, it's likely something else causing the truncation.
I see, but my message is only about 631 characters long, well below that limit.