Adds validation message for add and batch upload.