I'm experiencing an issue where my messages sent through AWS SNS are getting cut off. The documentation suggests that it should automatically handle multi-part messages when they exceed a certain size. However, that's not happening for me because the SNS is only sending the first part of the message, and the rest is being dropped. For example, I've been trying to send notifications about price changes for hotels, but only a portion of the message is being delivered. Does anyone know what's going wrong?
2 Answers
Are you sending your messages via email or SMS? If it's email, check if there's an HTML version attached that could be affecting the size or delivery. If it's SMS, that could also limit how much content is transmitted, so pay attention to that.
It looks like you're running into the 256kb limit for SNS, including attributes and payload. If you're well below that, then the issue may not be about multi-part messages since SNS doesn't actually do that. It just sends the full message unless you're over the size limit.
Yeah, I'm nowhere near that limit either. The text I'm sending is only about 631 characters long.
It's actually SMS that I'm sending.