# 404 Response

**URL:** <https://discuss.elastic.co/t/404-response/134405>\
**Category:** Elasticsearch\
**Created:** [June 4, 2018, 10:55am UTC](https://discuss.elastic.co/t/404-response/134405 "2018-06-04T10:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsh\_Katiyar](https://avatars.discourse-cdn.com/v4/letter/h/4da419/32.png) [@Harsh\_Katiyar](https://discuss.elastic.co/u/Harsh_Katiyar)\
**Post date:** [June 4, 2018, 10:55am UTC](https://discuss.elastic.co/t/404-response/134405/1 "2018-06-04T10:55:37Z")

</div>

If I run [http://localhost:9200/](http://localhost:9200/)

response :  
{  
"name" : "Harold H. Harold",  
"cluster\_name" : "elasticsearch",  
"cluster\_uuid" : "VJw5noi8Qoq0Ahtfzjqx-w",  
"version" : {  
"number" : "2.4.6",  
"build\_hash" : "5376dca9f70f3abef96a77f4bb22720ace8240fd",  
"build\_timestamp" : "2017-07-18T12:17:44Z",  
"build\_snapshot" : false,  
"lucene\_version" : "5.5.4"  
},  
"tagline" : "You Know, for Search"  
}

IF i run [http://localhost:9200/khazairugs\_com\_default\_catalog\_product](http://localhost:9200/khazairugs_com_default_catalog_product)

Response :

{"error":{"root\_cause":[{"type":"index\_not\_found\_exception","reason":"no such index","resource.type":"index\_or\_alias","resource.id":"khazairugs\_com\_default\_catalog\_product","index":"khazairugs\_com\_default\_catalog\_product"}],"type":"index\_not\_found\_exception","reason":"no such index","resource.type":"index\_or\_alias","resource.id":"khazairugs\_com\_default\_catalog\_product","index":"khazairugs\_com\_default\_catalog\_product"},"status":404}

i dont know why its giving 404 status

if i try to list the indices  
with this curl -XGET [http://localhost:9200/\_cat/indices?v](http://localhost:9200/_cat/indices?v) give response  
health status index pri rep docs.count docs.deleted store.size pri.store.size  
green open khazairugs\_com\_default\_thesaurus\_20180605\_092226 1 0 0 0 159b 159b

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 4, 2018, 11:07am UTC](https://discuss.elastic.co/t/404-response/134405/2 "2018-06-04T11:07:07Z")

</div>

> [@Harsh\_Katiyar](#):
>
> i dont know why its giving 404 status

Because you don't have an index named `khazairugs_com_default_catalog_product`.

The index name is `khazairugs_com_default_thesaurus_20180605_092226`.

---

<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:** [July 2, 2018, 11:07am UTC](https://discuss.elastic.co/t/404-response/134405/3 "2018-07-02T11:07:14Z")

</div>

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