Why are my AWS SNS messages getting cut off instead of sent as multi-part?

0
0
Asked By SunnyGiraffe92 On

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

Answered By TechieTina27 On

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.

SunnyGiraffe92 -

It's actually SMS that I'm sending.

Answered By CuriousCoder83 On

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.

MysteryCheetah57 -

Yeah, I'm nowhere near that limit either. The text I'm sending is only about 631 characters long.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.