# No handler found for uri

**URL:** <https://discuss.elastic.co/t/no-handler-found-for-uri/6570>\
**Category:** Elasticsearch\
**Created:** [February 2, 2012, 3:08am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570 "2012-02-02T03:08:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryan\_rasmussen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryan_rasmussen/32/874_2.png) [@bryan\_rasmussen](https://discuss.elastic.co/u/bryan_rasmussen)\
**Post date:** [February 2, 2012, 3:08am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570/1 "2012-02-02T03:08:12Z")

</div>

I did the following:  
curl -XPUT http://  
localhost:9200/\_river/commando/\_meta -d @elasticsearch.json

where elasticsearch.json is  
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :  
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"\_index":"\_river","\_type":"commando","\_id":"\_meta","\_version":  
1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO][cluster.metadata] [Natchios,  
Elektra]  
[\_river] update\_mapping [commando] (dynamic)  
[2012-02-02 03:53:39,332][INFO][river.couchdb] [Natchios,  
Elektra]  
[couchdb][commando] starting couchdb stream: host [localhost], port  
[5984], filt  
er [null], db [content], indexing to [content]/[content]  
[2012-02-02 03:53:39,354][INFO][cluster.metadata] [Natchios,  
Elektra]

When I GET  
[http://localhost:9200/content/content](http://localhost:9200/content/content)

I get back the message  
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,  
nearly unthinkable even with the message above.

Thanks,  
Bryan Rasmussen

---

<div class="post-metadata">

**Author:** ![medcl\_net](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@medcl\_net](https://discuss.elastic.co/u/medcl_net)\
**Post date:** [February 2, 2012, 3:22am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570/2 "2012-02-02T03:22:44Z")

</div>

to retrieve a doc,you must follow this format:  
[http://localhost:9200/{index}/{type}/{id}](http://localhost:9200/%7Bindex%7D/%7Btype%7D/%7Bid%7D)

-----Original Message-----  
From: bryan  
Sent: Thursday, February 02, 2012 11:08 AM  
To: elasticsearch  
Subject: No handler found for uri

I did the following:  
curl -XPUT http://  
localhost:9200/\_river/commando/\_meta -d @elasticsearch.json

where elasticsearch.json is  
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :  
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"\_index":"\_river","\_type":"commando","\_id":"\_meta","\_version":  
1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO][cluster.metadata] [Natchios,  
Elektra]  
[\_river] update\_mapping [commando] (dynamic)  
[2012-02-02 03:53:39,332][INFO][river.couchdb] [Natchios,  
Elektra]  
[couchdb][commando] starting couchdb stream: host [localhost], port  
[5984], filt  
er [null], db [content], indexing to [content]/[content]  
[2012-02-02 03:53:39,354][INFO][cluster.metadata] [Natchios,  
Elektra]

When I GET  
[http://localhost:9200/content/content](http://localhost:9200/content/content)

I get back the message  
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,  
nearly unthinkable even with the message above.

Thanks,  
Bryan Rasmussen

---

<div class="post-metadata">

**Author:** ![bryan\_rasmussen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryan_rasmussen/32/874_2.png) [@bryan\_rasmussen](https://discuss.elastic.co/u/bryan_rasmussen)\
**Post date:** [February 2, 2012, 3:44am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570/3 "2012-02-02T03:44:45Z")

</div>

ok thanks.

Bryan Rasmussen

On Feb 2, 4:22 am, [medcl2...@gmail.com](mailto:medcl2...@gmail.com) wrote:

> to retrieve a doc,you must follow this format:[http://localhost:9200/{index}/{type}/{id}](http://localhost:9200/%7Bindex%7D/%7Btype%7D/%7Bid%7D)
> 
> -----Original Message-----  
> From: bryan  
> Sent: Thursday, February 02, 2012 11:08 AM  
> To: elasticsearch  
> Subject: No handler found for uri
> 
> I did the following:  
> curl -XPUT http://  
> localhost:9200/\_river/commando/\_meta -d @elasticsearch.json
> 
> where elasticsearch.json is  
> {"type" : "couchdb","couchdb" : {"host" : "localhost","port" :  
> 5984,"db" : "content","filter" : null}}
> 
> and got
> 
> {"ok":true,"\_index":"\_river","\_type":"commando","\_id":"\_meta","\_version":  
> 1}
> 
> looking at elasticsearch in my console:
> 
> [2012-02-02 03:53:39,181][INFO][cluster.metadata] [Natchios,  
> Elektra]  
> [\_river] update\_mapping [commando] (dynamic)  
> [2012-02-02 03:53:39,332][INFO][river.couchdb] [Natchios,  
> Elektra]  
> [couchdb][commando] starting couchdb stream: host [localhost], port  
> [5984], filt  
> er [null], db [content], indexing to [content]/[content]  
> [2012-02-02 03:53:39,354][INFO][cluster.metadata] [Natchios,  
> Elektra]
> 
> When I GEThttp://localhost:9200/content/content
> 
> I get back the message  
> No handler found for uri [/content/content] and method [GET]
> 
> What did I do wrong? should I not GET? That seems extremely unlikely,  
> nearly unthinkable even with the message above.
> 
> Thanks,  
> Bryan Rasmussen

---

<div class="post-metadata">

**Author:** ![Sanuj\_S\_S](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@Sanuj\_S\_S](https://discuss.elastic.co/u/Sanuj_S_S)\
**Post date:** [February 20, 2014, 3:07am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570/4 "2014-02-20T03:07:04Z")

</div>

Hi Bryan,

Could you please give an example ?  
See below my index details

{  
"\_index" : "myindex",  
"\_type" : "snapshot",  
"\_id" : "myindex\_backup",  
"\_version" : 1,  
"exists" : true, "\_source" : {  
"type": "fs",  
"settings": {  
"location": "/home/Downloads/backupdir",  
"compress": true  
}  
}  
}

On Thursday, February 2, 2012 9:14:45 AM UTC+5:30, bryan wrote:

> ok thanks.
> 
> Bryan Rasmussen
> 
> On Feb 2, 4:22 am, [medcl2...@gmail.com](mailto:medcl2...@gmail.com) wrote:
> 
> > to retrieve a doc,you must follow this format:  
> > [http://localhost:9200/{index}/{type}/{id}](http://localhost:9200/%7Bindex%7D/%7Btype%7D/%7Bid%7D)
> > 
> > -----Original Message-----  
> > From: bryan  
> > Sent: Thursday, February 02, 2012 11:08 AM  
> > To: elasticsearch  
> > Subject: No handler found for uri
> > 
> > I did the following:  
> > curl -XPUT http://  
> > localhost:9200/\_river/commando/\_meta -d @elasticsearch.json
> > 
> > where elasticsearch.json is  
> > {"type" : "couchdb","couchdb" : {"host" : "localhost","port" :  
> > 5984,"db" : "content","filter" : null}}
> > 
> > and got
> 
> {"ok":true,"\_index":"\_river","\_type":"commando","\_id":"\_meta","\_version":
> 
> > 1}
> > 
> > looking at elasticsearch in my console:
> > 
> > [2012-02-02 03:53:39,181][INFO][cluster.metadata] [Natchios,  
> > Elektra]  
> > [\_river] update\_mapping [commando] (dynamic)  
> > [2012-02-02 03:53:39,332][INFO][river.couchdb] [Natchios,  
> > Elektra]  
> > [couchdb][commando] starting couchdb stream: host [localhost], port  
> > [5984], filt  
> > er [null], db [content], indexing to [content]/[content]  
> > [2012-02-02 03:53:39,354][INFO][cluster.metadata] [Natchios,  
> > Elektra]
> > 
> > When I GEThttp://localhost:9200/content/content
> > 
> > I get back the message  
> > No handler found for uri [/content/content] and method [GET]
> > 
> > What did I do wrong? should I not GET? That seems extremely unlikely,  
> > nearly unthinkable even with the message above.
> > 
> > Thanks,  
> > Bryan Rasmussen

--  
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/571b5f63-d63b-45ef-9551-9d191b071b96%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/571b5f63-d63b-45ef-9551-9d191b071b96%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:48am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri/6570/5 "2017-07-06T01:48:55Z")

</div>


