# NEST Bulk Error

**URL:** <https://discuss.elastic.co/t/nest-bulk-error/240460>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 9, 2020, 6:55am UTC](https://discuss.elastic.co/t/nest-bulk-error/240460 "2020-07-09T06:55:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subin1](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@subin1](https://discuss.elastic.co/u/subin1)\
**Post date:** [July 9, 2020, 6:55am UTC](https://discuss.elastic.co/t/nest-bulk-error/240460/1 "2020-07-09T06:55:57Z")

</div>

Hello Evenyone,

When i use NEST to bulk index an document,the client returned an error "Validation Failed: 1: type is missing",the code is as follow,please help me.

```auto
            var client = new ElasticClient(settings);

            var person = new Person
            {
                Id = 1,
                FirstName = "Martijn",
                LastName = "Laarman"
            };

            var list = new List<Person>() { person };
            var result = client.Bulk(b => b.IndexMany(list));

```

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [July 13, 2020, 7:10am UTC](https://discuss.elastic.co/t/nest-bulk-error/240460/2 "2020-07-13T07:10:43Z")

</div>

Can you also show

1. how `settings` is configured
2. version of Elasticsearch you're using
3. version of NEST you're using

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 10, 2020, 7:19am UTC](https://discuss.elastic.co/t/nest-bulk-error/240460/3 "2020-08-10T07:19:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
