# Error running command under Dev Tools

**URL:** <https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048>\
**Category:** Elasticsearch\
**Created:** [July 13, 2017, 3:14pm UTC](https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048 "2017-07-13T15:14:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeface](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mikeface](https://discuss.elastic.co/u/mikeface)\
**Post date:** [July 13, 2017, 3:14pm UTC](https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048/1 "2017-07-13T15:14:05Z")

</div>

Seems to be any command that I run. I tried something simple:  
Get /\_template

The response is:  
{  
"statusCode": 400,  
"error": "Bad Request",  
"message": "child "method" fails because ["method" is required]",  
"validation": {  
"source": "query",  
"keys": [  
"method"  
]  
}  
}

I can run it as curl from the kibana host cli just fine. ES version is 5.4.0, Kibana is 5.4.3

---

<div class="post-metadata">

**Author:** ![Jim\_Finnessy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_finnessy/32/18653_2.png) [@Jim\_Finnessy](https://discuss.elastic.co/u/Jim_Finnessy)\
**Post date:** [July 18, 2017, 5:05pm UTC](https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048/2 "2017-07-18T17:05:37Z")

</div>

I'm seeing this same issue. Any resolution, would be greatly helpful.

---

<div class="post-metadata">

**Author:** ![mikeface](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mikeface](https://discuss.elastic.co/u/mikeface)\
**Post date:** [July 18, 2017, 5:21pm UTC](https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048/3 "2017-07-18T17:21:51Z")

</div>

For me, seems to be related to using:  
server.basePath: "/thingy"

If that is set, the dev tool requests fail. Without that it works fine.

---

<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:** [August 15, 2017, 5:21pm UTC](https://discuss.elastic.co/t/error-running-command-under-dev-tools/93048/4 "2017-08-15T17:21:55Z")

</div>

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