# No handler found for uri \[/\_all/settings\] and method \[PUT\]

**URL:** <https://discuss.elastic.co/t/no-handler-found-for-uri--all-settings-and-method-put/75308>\
**Category:** Elasticsearch\
**Created:** [February 16, 2017, 9:44am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri--all-settings-and-method-put/75308 "2017-02-16T09:44:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![valf](https://avatars.discourse-cdn.com/v4/letter/v/8e7dd6/32.png) [@valf](https://discuss.elastic.co/u/valf)\
**Post date:** [February 16, 2017, 9:44am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri--all-settings-and-method-put/75308/1 "2017-02-16T09:44:29Z")

</div>

Hi,

As it is mentioned on the elasticsearch documentation "[https://www.elastic.co/guide/en/elasticsearch/reference/5.2/delayed-allocation.html#\_monitoring\_delayed\_unassigned\_shards](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/delayed-allocation.html#_monitoring_delayed_unassigned_shards)".  
We wanted to modify the delayed\_timeout to reboot one of node for maintenance reason.  
But when we launched the curl command

curl -XPUT 'localhost:9200/\_all/\_settings?pretty' -H 'Content-Type: application/json' -d'  
{  
"settings": {  
"index.unassigned.node\_left.delayed\_timeout": "5m"  
}  
}  
'  
The answer was "No handler found for uri [/\_all/settings] and method [PUT]"

Thanks for your help

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [February 17, 2017, 9:03am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri--all-settings-and-method-put/75308/2 "2017-02-17T09:03:26Z")

</div>

Hi @valf,

this seems to be a typo somewhere? The error message says: "No handler found for uri [/_all/settings] and method [PUT]" (note it says **settings** (without an underscore) but not **\_settings** in the error message). Can you please double-check that you've included the "_"?

When I try your statement against an empty Elasticsearch node (version 5.2.1) I get the following response:

```auto
{
   "error": {
      "root_cause": [
         {
            "type": "index_not_found_exception",
            "reason": "no such index",
            "resource.type": "index_expression",
            "resource.id": "_all"
         }
      ],
      "type": "index_not_found_exception",
      "reason": "no such index",
      "resource.type": "index_expression",
      "resource.id": "_all"
   },
   "status": 404
}

```

If I create an index and then issue the call, it returns fine.

Daniel

---

<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:** [March 17, 2017, 9:03am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri--all-settings-and-method-put/75308/3 "2017-03-17T09:03:39Z")

</div>

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