throwing field required exception