# No handler found for uri \[/\_sql\] and method \[POST\]

**URL:** <https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-sql\
**Created:** [February 13, 2020, 5:45am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121 "2020-02-13T05:45:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basil\_Paul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basil_paul/32/62605_2.png) [@Basil\_Paul](https://discuss.elastic.co/u/Basil_Paul)\
**Post date:** [February 13, 2020, 5:45am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/1 "2020-02-13T05:45:06Z")

</div>

Hello,  
I had added the plugin for sql in Elastic search. Inspite of adding sql plugin for sql. Iam unable to run sql queries.  
Below given is the command:  
curl -H "Content-Type: application/json" -XPOST '[http://10.94.1.114:9200/\_sql](http://10.94.1.114:9200/_sql)' -d 'SELECT \* FROM testing\_tagstore1 LIMIT 10'

Error  
No handler found for uri [/\_sql] and method [POST]

---

<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:** [February 13, 2020, 6:14am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/2 "2020-02-13T06:14:06Z")

</div>

Welcome!

Which plugin do you mean? It's now part of the default distribution.  
But if you installed a plugin, did you restart the nodes?

---

<div class="post-metadata">

**Author:** ![Basil\_Paul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basil_paul/32/62605_2.png) [@Basil\_Paul](https://discuss.elastic.co/u/Basil_Paul)\
**Post date:** [February 13, 2020, 9:42am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/3 "2020-02-13T09:42:17Z")

</div>

Yes I have restarted the nodes after plugin installation. But inspite of that it still throws the same error. Iam a beginner. Request you to please help

---

<div class="post-metadata">

**Author:** ![Basil\_Paul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basil_paul/32/62605_2.png) [@Basil\_Paul](https://discuss.elastic.co/u/Basil_Paul)\
**Post date:** [February 13, 2020, 10:30am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/4 "2020-02-13T10:30:52Z")

</div>

Please note the version of Elastic search that Iam using is elasticsearch-5.3.0

---

<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:** [February 14, 2020, 1:59am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/5 "2020-02-14T01:59:09Z")

</div>

Could you share the full elasticsearch logs?

Why are you using a so old version instead of 7.6.0?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 14, 2020, 6:23am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/6 "2020-02-14T06:23:01Z")

</div>

Which SQL plugin did you install?

---

<div class="post-metadata">

**Author:** ![Andrei\_Stefan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrei_stefan/32/47533_2.png) [@Andrei\_Stefan](https://discuss.elastic.co/u/Andrei_Stefan)\
**Post date:** [February 14, 2020, 7:29am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/7 "2020-02-14T07:29:27Z")

</div>

There is no Elastic SQL plugin for 5.3.0 from what I know. As others suggested, please try a much newer Elasticsearch version. There are many many fixes and features in these versions.

Also, specifically related to your issue, in older Elasticsearch versions the endpoint is `/_xpack/sql` and not `/_sql`.

---

<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 13, 2020, 7:29am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-sql-and-method-post/219121/8 "2020-03-13T07:29:28Z")

</div>

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