# Invalid\_type\_name\_exception error

**URL:** https://discuss.elastic.co/t/invalid-type-name-exception-error/45974
**Category:** Kibana
**Tags:** elastic-stack-graph
**Created:** [March 31, 2016, 5:25pm UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974 "2016-03-31T17:25:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![voipoclay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voipoclay/32/4372_2.png) [@voipoclay](https://discuss.elastic.co/u/voipoclay)
#### Post date: [March 31, 2016, 5:25pm UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974/1 "2016-03-31T17:25:59Z")

</div>

I seem to be getting an error when accessing my index. I will mention it has multiple types within a single index. I also want to say im using the latest kibana with the graph plugin.

```
T 2016/03/31 17:21:46.266180 y.y.y.y:47934 -> x.x.x.x:9200 [AP]
POST /messages-2016.03.30/_graph/explore HTTP/1.1.
Host: zzzzzzz:9200.
Content-Length: 273.
Connection: keep-alive.
.
{"query":{"query_string":{"default_field":"_all","query":""}},"controls":{"use_significance":true,"sample_size":2000,"timeout":5000},"connections":{"vertices":[{"field":"to.number","size":5,"min_doc_count":3}]},"vertices":[{"field":"to.number","size":5,"min_doc_count":3}]}

T 2016/03/31 17:21:46.313677 x.x.x.x:9200 -> y.y.y.y:47934 [AP]
HTTP/1.1 400 Bad Request.
Content-Type: application/json; charset=UTF-8.
Content-Length: 233.
.
{"error":{"root_cause":[{"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '_'"}],"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '_'"},"status":400}
```

---

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [March 31, 2016, 8:06pm UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974/2 "2016-03-31T20:06:55Z")

</div>

This looks like the error you get if you haven't installed the graph plugin on your elasticsearch node.  
The call to the \_graph api is interpreted As an attempt to create a new doc type.

Cheers  
Mark

---

<div class="post-metadata">

### Author: ![voipoclay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voipoclay/32/4372_2.png) [@voipoclay](https://discuss.elastic.co/u/voipoclay)
#### Post date: [March 31, 2016, 8:46pm UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974/3 "2016-03-31T20:46:33Z")

</div>

Hello,

Thanks for that looks like a missed one of the nodes and now its good. Now I get the following error. I have a basic license I use for marvel and it looks like its good until january 2017 when I hit `/_license` uri. I was hoping to just check out the 30 day trial.

```
{
   "error": {
      "root_cause": [
         {
            "type": "security_exception",
            "reason": "current license is non-compliant for [graph]",
            "license.expired.feature": "graph"
         }
      ],
      "type": "security_exception",
      "reason": "current license is non-compliant for [graph]",
      "license.expired.feature": "graph"
   },
   "status": 401
}
```

---

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [April 1, 2016, 12:06am UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974/4 "2016-04-01T00:06:04Z")

</div>

There is already another topic in this forum that discusses the license requirements. See [Authorization Required](https://discuss.elastic.co/t/authorization-required/45849/5)

---

<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: [July 6, 2017, 1:44pm UTC](https://discuss.elastic.co/t/invalid-type-name-exception-error/45974/5 "2017-07-06T13:44:14Z")

</div>


