# Transport error 404

**URL:** <https://discuss.elastic.co/t/transport-error-404/21991>\
**Category:** Elasticsearch\
**Created:** [February 5, 2015, 12:04pm UTC](https://discuss.elastic.co/t/transport-error-404/21991 "2015-02-05T12:04:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_3](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@James\_3](https://discuss.elastic.co/u/James_3)\
**Post date:** [February 5, 2015, 12:04pm UTC](https://discuss.elastic.co/t/transport-error-404/21991/1 "2015-02-05T12:04:38Z")

</div>

Hi,

I'm trying to get elasticsearch working, querying it from python. However in my UWSGI logs I have this error:

File "/var/www/.../venv/local/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 9  
7, in \_raise\_error  
raise HTTP\_EXCEPTIONS.get(status\_code, TransportError)(status\_code, error\_message, additional\_info)  
elasticsearch.exceptions.NotFoundError: TransportError(404, u'IndexMissingException[[employ\_simple] missin  
g]')

Is this a simple error just to say I don't have an index on my elasticsearch server yet? Do I have to create one before I can attempt to put any data on it?

James

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Honza\_Kral](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honza_kral/32/876_2.png) [@Honza\_Kral](https://discuss.elastic.co/u/Honza_Kral)\
**Post date:** [February 5, 2015, 1:28pm UTC](https://discuss.elastic.co/t/transport-error-404/21991/2 "2015-02-05T13:28:50Z")

</div>

Hi James,

you can index documents even without creating an index - it will be  
created for you, but when searching the index must exist.

Hope this helps.

On Thu, Feb 5, 2015 at 1:04 PM, James [mail@employ.com](mailto:mail@employ.com) wrote:

> Hi,
> 
> I'm trying to get elasticsearch working, querying it from python. However in  
> my UWSGI logs I have this error:
> 
> File  
> "/var/www/.../venv/local/lib/python2.7/site-packages/elasticsearch/connection/base.py",  
> line 9  
> 7, in \_raise\_error  
> raise HTTP\_EXCEPTIONS.get(status\_code, TransportError)(status\_code,  
> error\_message, additional\_info)  
> elasticsearch.exceptions.NotFoundError: TransportError(404,  
> u'IndexMissingException[[employ\_simple] missin  
> g]')
> 
> Is this a simple error just to say I don't have an index on my elasticsearch  
> server yet? Do I have to create one before I can attempt to put any data on  
> it?
> 
> James
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CABfdDio9wx%2BucqiSMYhwdviu6jCCJaUgTObme\_jOLfEtRhZakA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CABfdDio9wx%2BucqiSMYhwdviu6jCCJaUgTObme_jOLfEtRhZakA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:34am UTC](https://discuss.elastic.co/t/transport-error-404/21991/3 "2017-07-06T00:34:46Z")

</div>


