# Creating index without id throws an error

**URL:** <https://discuss.elastic.co/t/creating-index-without-id-throws-an-error/194656>\
**Category:** Elasticsearch\
**Created:** [August 9, 2019, 4:40pm UTC](https://discuss.elastic.co/t/creating-index-without-id-throws-an-error/194656 "2019-08-09T16:40:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkateshreddypala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkateshreddypala/32/52035_2.png) [@venkateshreddypala](https://discuss.elastic.co/u/venkateshreddypala)\
**Post date:** [August 9, 2019, 4:40pm UTC](https://discuss.elastic.co/t/creating-index-without-id-throws-an-error/194656/1 "2019-08-09T16:40:47Z")

</div>

The error says that I'm using a deprecated version of indexing. Can someone please point me to the right format of index?

PUT /\_index/\_type

I just did the above and it says 404, I must use POST

---

<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:** [September 6, 2019, 4:40pm UTC](https://discuss.elastic.co/t/creating-index-without-id-throws-an-error/194656/2 "2019-09-06T16:40:49Z")

</div>

Closed on September 6, 2019, 4:40pm UTC

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