Why are my AWS SNS messages getting cut off instead of sent as multi-part?
Asked by
quilt.backing
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?
Answers
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.
Reply to this answer
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.
quilt.backing: It's actually SMS that I'm sending.
Reply to this answer
Add your answer
Answers are reviewed before publication.
frame-by-frame animation: Yeah, I'm nowhere near that limit either. The text I'm sending is only about 631 characters long.