title: Amazon SNS limit on SMS messages
body: <p>I have been using Amazon SNS to send SMS messages to clients. My issue is Clients are able to receive SMS only on the start of the month. I guess there is some limit I am struck with. Can any one help me out?</p>
  <p><strong>Code</strong></p>
  <pre><code>var AWS = require('aws-sdk');
  var sns = new AWS.SNS({
      region: region,
  });
  
  export default function SMS(phone, body) {
      var params = {
          Message:  body,
          PhoneNumber: phone,
      };
      sns.setSMSAttributes(
          {
              attributes: {
                  DefaultSMSType: &quot;Transactional&quot;
              }
          },
          function (error) {
              if (error) {
                  console.log(error);
              }
          }
      );
      sns.publish(params, function (err, data) {
          if (err) console.log(err, err.stack); // an error occurred
          else console.log(data);           // successful response
      });
  
  }
  </code></pre>