Sending data to SNS error fixed.