# Kibana APIs: No handler found for uri

**URL:** https://discuss.elastic.co/t/kibana-apis-no-handler-found-for-uri/310971
**Category:** Kibana
**Created:** [July 29, 2022, 9:46am UTC](https://discuss.elastic.co/t/kibana-apis-no-handler-found-for-uri/310971 "2022-07-29T09:46:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aman\_mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman_mahajan/32/98042_2.png) [@aman\_mahajan](https://discuss.elastic.co/u/aman_mahajan)
#### Post date: [July 29, 2022, 9:46am UTC](https://discuss.elastic.co/t/kibana-apis-no-handler-found-for-uri/310971/1 "2022-07-29T09:46:14Z")

</div>

Hi, I am trying to do a curl request to the Kibana APIs but getting error that the handler does not exist. For eg.

```auto
curl -H 'kbn-xsrf: true' -H "Authorization: Basic <token>" <kibana_host>:<kibana_port>/api/saved_objects/index-pattern/<id> 

{"error":"no handler found for uri [/api/saved_objects/index-pattern/436678e0-0784-11ed-8c0a-51428f0989c8] and method [GET]"}

```

What am I doing wrong?

---

<div class="post-metadata">

### Author: ![aman\_mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman_mahajan/32/98042_2.png) [@aman\_mahajan](https://discuss.elastic.co/u/aman_mahajan)
#### Post date: [August 4, 2022, 8:57am UTC](https://discuss.elastic.co/t/kibana-apis-no-handler-found-for-uri/310971/2 "2022-08-04T08:57:26Z")

</div>

Update: I was using the elasticsearch endpoint instead of the kibana endpoint

---

<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: [September 1, 2022, 8:58am UTC](https://discuss.elastic.co/t/kibana-apis-no-handler-found-for-uri/310971/3 "2022-09-01T08:58:05Z")

</div>

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