# Throws an Error :Method not found .While Creating Index and Document

**URL:** <https://discuss.elastic.co/t/throws-an-error-method-not-found-while-creating-index-and-document/215081>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [January 15, 2020, 6:46am UTC](https://discuss.elastic.co/t/throws-an-error-method-not-found-while-creating-index-and-document/215081 "2020-01-15T06:46:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyarana123](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@priyarana123](https://discuss.elastic.co/u/priyarana123)\
**Post date:** [January 15, 2020, 6:46am UTC](https://discuss.elastic.co/t/throws-an-error-method-not-found-while-creating-index-and-document/215081/1 "2020-01-15T06:46:43Z")

</div>

I am using Elasticsearch 7.5.1 with Nest Version 7.5.1 and [ElasticSearch.Net](http://ElasticSearch.Net) 7.5.1 . While Creating Index got an error.  
" Method not found: 'Nest.IndexResponse Nest.ElasticClient.IndexDocument(!!0)'." by using Query : Elasticclient.IndexDocument()

---

<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:** [February 12, 2020, 6:46am UTC](https://discuss.elastic.co/t/throws-an-error-method-not-found-while-creating-index-and-document/215081/2 "2020-02-12T06:46:47Z")

</div>

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