validate throw errors if data have not been parsed