# Rally \_bulk error 400 "type is missing"

**URL:** <https://discuss.elastic.co/t/rally-bulk-error-400-type-is-missing/283073>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [September 1, 2021, 3:59pm UTC](https://discuss.elastic.co/t/rally-bulk-error-400-type-is-missing/283073 "2021-09-01T15:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [September 2, 2021, 12:39pm UTC](https://discuss.elastic.co/t/rally-bulk-error-400-type-is-missing/283073/7 "2021-09-02T12:39:31Z")

</div>

regarding the first issue, thanks to [this post](https://discuss.elastic.co/t/run-custom-tracks-get-type-error/271520/2) I found the solution.  
It was related to missing `"target-type": "doc",` in the `corpora` track section

---

_[View the full topic](https://discuss.elastic.co/t/rally-bulk-error-400-type-is-missing/283073)._
