# Create rollup job fails - Rejecting mapping update due to multiple types

**URL:** https://discuss.elastic.co/t/create-rollup-job-fails-rejecting-mapping-update-due-to-multiple-types/158594
**Category:** Beats
**Tags:** metricbeat
**Created:** [November 28, 2018, 2:57pm UTC](https://discuss.elastic.co/t/create-rollup-job-fails-rejecting-mapping-update-due-to-multiple-types/158594 "2018-11-28T14:57:49Z")
**Posts on this page:** 2
**Page:** 1

<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: [November 28, 2018, 2:57pm UTC](https://discuss.elastic.co/t/create-rollup-job-fails-rejecting-mapping-update-due-to-multiple-types/158594/1 "2018-11-28T14:57:50Z")

</div>

hi all,  
currently I'm collecting documents using Metricbeat (v.6.5.1) client. I have enabled only the `system` module.  
when I try to create a rollup job I face this error:

```
Request failed with a error. An internal server error occurred
Rejecting mapping update to [m.r.it] as the final mapping would have more than 1 type: [_doc, doc]

```

this happens also if I create a rollup job without specifing any `Terms/Histogram/Metrics` values  
Metricbeat sends directly to Elasticsearch (v.6.5.1).

---

<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: [December 26, 2018, 2:57pm UTC](https://discuss.elastic.co/t/create-rollup-job-fails-rejecting-mapping-update-due-to-multiple-types/158594/2 "2018-12-26T14:57:50Z")

</div>

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