# Got err with ES API request "no handler found for uri"

**URL:** <https://discuss.elastic.co/t/got-err-with-es-api-request-no-handler-found-for-uri/325820>\
**Category:** Elasticsearch\
**Created:** [February 17, 2023, 7:35am UTC](https://discuss.elastic.co/t/got-err-with-es-api-request-no-handler-found-for-uri/325820 "2023-02-17T07:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsafsdzdfaer](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsafsdzdfaer](https://discuss.elastic.co/u/dsafsdzdfaer)\
**Post date:** [February 17, 2023, 7:35am UTC](https://discuss.elastic.co/t/got-err-with-es-api-request-no-handler-found-for-uri/325820/1 "2023-02-17T07:35:43Z")

</div>

I got err with the below request :

```auto
url = ENV['KIBANA_ELASTICSEARCH_SERVICE'] + '/mib_prod*/_search?filter_path=hits.hits._source.message,hits.hits._source.timestamp'
    header = {'Content-Type' => 'application/json'}
    body = {"sort": [{ "@timestamp": {"order": "desc"}}], "query":{"query_string": {"query": log_search}}}

```

add the err is

> ERROR: HTTP GET Request failed, URL: [http://10.31.143.204:9200/fsaf\*/\_search?filter\_path=hits.hits.\_source.message,hits.hits.\_source.timestamp](http://10.31.143.204:9200/fsaf*/_search?filter_path=hits.hits._source.message,hits.hits._source.timestamp), error message: {"error":"no handler found for uri [[http://10.31.143.204:9200/mib\_prod\*/\_search?filter\_path=hits.hits.\_source.message,hits.hits.\_source.timestamp](http://10.31.143.204:9200/mib_prod*/_search?filter_path=hits.hits._source.message,hits.hits._source.timestamp)] and method [GET]"}

ES version is 6.6.0

The Curl request is successful, with "" before " in the URL.

I am unsure if it's the same issue with the URL or any other issues.

Could someone take a look? thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 21, 2023, 9:31pm UTC](https://discuss.elastic.co/t/got-err-with-es-api-request-no-handler-found-for-uri/325820/2 "2023-02-21T21:31:29Z")

</div>

Welcome to our community! 😃

> [@dsafsdzdfaer](#):
>
> ES version is 6.6.0

Please note that version is [EOL](https://www.elastic.co/support/eol) and no longer supported, you should be looking to upgrade as a matter of urgency.

> [@dsafsdzdfaer](#):
>
> ERROR: HTTP GET Request failed, URL: [http://10.31.143.204:9200/fsaf\*/\_search?filter\_path=hits.hits.\_source.message,hits.hits.\_source.timestamp](http://10.31.143.204:9200/fsaf*/_search?filter_path=hits.hits._source.message,hits.hits._source.timestamp), error message: {"error":"no handler found for uri [[http://10.31.143.204:9200/mib\_prod\*/\_search?filter\_path=hits.hits.\_source.message,hits.hits.\_source.timestamp](http://10.31.143.204:9200/mib_prod*/_search?filter_path=hits.hits._source.message,hits.hits._source.timestamp)] and method [GET]"}

What does a `GET fsaf*/_search` return you?

---

<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 21, 2023, 9:31pm UTC](https://discuss.elastic.co/t/got-err-with-es-api-request-no-handler-found-for-uri/325820/3 "2023-03-21T21:31:36Z")

</div>

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