Data upload validation and error displaying