trying to figure out how best to unpack a validation failure