# No handler found for uri \[/icsne/emails\] and method \[POST\] (version : 8.4.3)

**URL:** <https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192>\
**Category:** Elasticsearch\
**Created:** [October 10, 2022, 8:32am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192 "2022-10-10T08:32:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abid\_Hussain1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abid_hussain1/32/111873_2.png) [@Abid\_Hussain1](https://discuss.elastic.co/u/Abid_Hussain1)\
**Post date:** [October 10, 2022, 8:32am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192/1 "2022-10-10T08:32:49Z")

</div>

Elastic search running successfully, i created index but i could not create type  
following errors is showing in postman  
// "error": "no handler found for uri [/icsne/emails] and method [POST]"

and console shows following error  
"http client did not trust this server's certificate, closing connection Netty4HttpChannel{localAddress=/127.0.0.1:9200, remoteAddress=/127.0.0.1:50324}"

---

<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:** [October 10, 2022, 2:30pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192/2 "2022-10-10T14:30:45Z")

</div>

Welcome!

Why do you want to call this endpoint for?  
Do you want to create a new document?

If so, the URL is:

```auto
POST /icsne/_doc
{
  // YOUR CONTENT HERE
}

```

See [Index API | Elasticsearch Guide [8.4] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html)

You can not "create" a type anymore.  
If you want to set the mapping, do that when creating the index. See: [Create index API | Elasticsearch Guide [8.4] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#mappings)

---

<div class="post-metadata">

**Author:** ![Abid\_Hussain1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abid_hussain1/32/111873_2.png) [@Abid\_Hussain1](https://discuss.elastic.co/u/Abid_Hussain1)\
**Post date:** [October 13, 2022, 1:03pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192/3 "2022-10-13T13:03:28Z")

</div>

Thanks @dadoonet for your reply  
i want to create multple types in one index, is that possible in this version or not ?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 13, 2022, 1:32pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192/4 "2022-10-13T13:32:19Z")

</div>

> [@Abid\_Hussain1](#):
>
> i want to create multple types in one index, is that possible in this version or not ?

Multipe types are not possible since version 6.0, types were deprecated in version 7 and removed in version 8.

Check this [blog post](https://www.elastic.co/blog/moving-from-types-to-typeless-apis-in-elasticsearch-7-0).

---

<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:** [November 10, 2022, 1:32pm UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-icsne-emails-and-method-post-version-8-4-3/316192/5 "2022-11-10T13:32:40Z")

</div>

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