handle validation exception from mars