Display error on failed validation