# Can't set routing when create mappings

**URL:** <https://discuss.elastic.co/t/cant-set-routing-when-create-mappings/64651>\
**Category:** Elasticsearch\
**Created:** [November 2, 2016, 2:16am UTC](https://discuss.elastic.co/t/cant-set-routing-when-create-mappings/64651 "2016-11-02T02:16:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangchen](https://avatars.discourse-cdn.com/v4/letter/z/eb9ed0/32.png) [@zhangchen](https://discuss.elastic.co/u/zhangchen)\
**Post date:** [November 2, 2016, 2:16am UTC](https://discuss.elastic.co/t/cant-set-routing-when-create-mappings/64651/1 "2016-11-02T02:16:30Z")

</div>

version is 2.3.2  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/d/dacdc98de3b5a5d8fb1aac813e53727083632fef.png)  
This is my mapping and this is the error

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f34d28a709caba79e8626e9fdcecdefddadca98b.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 2, 2016, 8:40am UTC](https://discuss.elastic.co/t/cant-set-routing-when-create-mappings/64651/2 "2016-11-02T08:40:56Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

---

<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:** [July 5, 2017, 10:07pm UTC](https://discuss.elastic.co/t/cant-set-routing-when-create-mappings/64651/3 "2017-07-05T22:07:33Z")

</div>

Closed on July 5, 2017, 10:07pm UTC


