# Msearch - bad request - method and path required

**URL:** <https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226>\
**Category:** Elasticsearch\
**Created:** [May 16, 2018, 10:04pm UTC](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226 "2018-05-16T22:04:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Soto](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@Luis\_Soto](https://discuss.elastic.co/u/Luis_Soto)\
**Post date:** [May 16, 2018, 10:04pm UTC](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226/1 "2018-05-16T22:04:55Z")

</div>

Describe the feature:  
We just upgraded to Elastic 6.24, and we are executing a request like the following using Postman:  
[https://site.com/kibana/api/console/proxy?uri=system-stats/\_msearch](https://site.com/kibana/api/console/proxy?uri=system-stats/_msearch)  
with the following payload:  
{"index" : "system-stats"}  
{"query" : {"match\_all" : {}}, "from" : 0, "size" : 10}  
Sending the headers:  
kbn-version: 6.2.4  
Content-type: application/x-ndjson

And we are getting the following result:  
{  
"statusCode": 400,  
"error": "Bad Request",  
"message": "child "method" fails because ["method" is required]. child "path" fails because ["path" is required]",  
"validation": {  
"source": "query",  
"keys": [  
"method",  
"path"  
]  
}  
}

We would like to know what we are missing in the request and/or the elastic/kibana configuration.

Regards,

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [May 17, 2018, 4:28pm UTC](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226/2 "2018-05-17T16:28:58Z")

</div>

I think this may be kibana specific? Do you get this error if you try the request against the cluster directly (not going through the kibana proxy)?

I only ask because if it's kibana-specific, you'll likely have better luck with this question in the kibana subforum (I can move the thread for you in that case) 🙂

---

<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:** [June 14, 2018, 4:28pm UTC](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226/3 "2018-06-14T16:28:59Z")

</div>

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