Improved error message for sns