# I want to validate r (Language, Year of Experience, House Number, City, Country, Mobile, Current Address) these field from the Json code. But I am getting error

**URL:** <https://community.postman.com/t/i-want-to-validate-r-language-year-of-experience-house-number-city-country-mobile-current-address-these-field-from-the-json-code-but-i-am-getting-error/43163>\
**Category:** Help Hub\
**Tags:** tests, variables, collections, json\
**Created:** [January 24, 2023, 5:42am UTC](https://community.postman.com/t/i-want-to-validate-r-language-year-of-experience-house-number-city-country-mobile-current-address-these-field-from-the-json-code-but-i-am-getting-error/43163 "2023-01-24T05:42:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [January 25, 2023, 10:04am UTC](https://community.postman.com/t/i-want-to-validate-r-language-year-of-experience-house-number-city-country-mobile-current-address-these-field-from-the-json-code-but-i-am-getting-error/43163/2 "2023-01-25T10:04:41Z")

</div>

Didn’t I answer this yesterday?

[I want to validate these field but I am getting error - Help - Postman](https://community.postman.com/t/i-want-to-validate-these-field-but-i-am-getting-error/43165)

Your language field validation is failing with undefined, as you are not targeting the array element properly.

It needs to be the following.

```auto
pm.test("Language field value validation", function () {
    pm.expect(jsonData.data.TechnicalDetails[0].language).to.eql(["Bangla", "English"]);
});

```

Same principle for the other assertions.

---

_[View the full topic](https://community.postman.com/t/i-want-to-validate-r-language-year-of-experience-house-number-city-country-mobile-current-address-these-field-from-the-json-code-but-i-am-getting-error/43163)._
