(#2803) - bad attachment error handling