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

0
0
Asked By CoolCat734 On

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

Answered By SunnyDayz92 On

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.

QuestionAuthor -

I see, but my message is only about 631 characters long, well below that limit.

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.