# Error on index template creation: "composable template \[...\] template after composition is invalid"

**URL:** https://discuss.elastic.co/t/error-on-index-template-creation-composable-template-template-after-composition-is-invalid/291076
**Category:** Kibana
**Created:** [December 6, 2021, 7:31pm UTC](https://discuss.elastic.co/t/error-on-index-template-creation-composable-template-template-after-composition-is-invalid/291076 "2021-12-06T19:31:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)
#### Post date: [December 6, 2021, 7:31pm UTC](https://discuss.elastic.co/t/error-on-index-template-creation-composable-template-template-after-composition-is-invalid/291076/1 "2021-12-06T19:31:46Z")

</div>

Subject really says it all.

version 7.14

The cluster is new and has just one node for testing and this is the first datastream I have tried to create.

One thing that is puzzling me is what does it mean by "composable template"?

I create the template in kibana from that index-templates page.

There is this message in the ES server log:

```auto
[2021-12-07T07:21:21,066][INFO][o.e.c.m.MetadataIndexTemplateService] [secmonprd08] adding index template [simulate_template_6vmtsg5kq_eziqoggn7r-a] for index patterns [45a298b8-5fa9-479c-a4a0-340b1410d769]

the template now has no index setting, component templates or aliases. Just mapping. I have created mapping both by hand and by json.

The only thing I turned up when searching the message was a discussion on github amongst ES developers about how unsatisfactory the message was!

```

---

<div class="post-metadata">

### Author: ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)
#### Post date: [December 6, 2021, 8:07pm UTC](https://discuss.elastic.co/t/error-on-index-template-creation-composable-template-template-after-composition-is-invalid/291076/2 "2021-12-06T20:07:57Z")

</div>

I have managed to work around this by the simple expedient of first creating an, effectively, empty template (name and index pattern) and then editing the template to add the mappings.

---

<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: [January 3, 2022, 8:08pm UTC](https://discuss.elastic.co/t/error-on-index-template-creation-composable-template-template-after-composition-is-invalid/291076/3 "2022-01-03T20:08:02Z")

</div>

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