# Always "unexpected end of block data",why?

**URL:** <https://discuss.elastic.co/t/always-unexpected-end-of-block-data-why/12133>\
**Category:** Elasticsearch\
**Created:** [May 27, 2013, 7:38am UTC](https://discuss.elastic.co/t/always-unexpected-end-of-block-data-why/12133 "2013-05-27T07:38:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangyifeng2](https://avatars.discourse-cdn.com/v4/letter/y/f6c823/32.png) [@yangyifeng2](https://discuss.elastic.co/u/yangyifeng2)\
**Post date:** [May 27, 2013, 7:38am UTC](https://discuss.elastic.co/t/always-unexpected-end-of-block-data-why/12133/1 "2013-05-27T07:38:25Z")

</div>

today,i create the mapping  
{  
"channel2":{  
"dynamic\_templates":[  
{"template\_1":{  
"match":"\*",  
"match\_mapping\_type":"string",  
"mapping":{"type":"multi\_field",  
"fields":{  
"{name}":{"type":"{dynamic\_type}","store":"yes","index":"not\_analyzed"},  
"reverse":{"type":"{dynamic\_type}","store":"yes","index":"analyzed"}  
}  
}  
}  
}  
]  
}  
}

but always go wrong,the wrong message is:  
Exception in thread "main" org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream  
......  
Caused by: java.io.StreamCorruptedException: unexpected end of block data  
......

why?  
Could anyone tell me？

---

<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 6, 2017, 2:34am UTC](https://discuss.elastic.co/t/always-unexpected-end-of-block-data-why/12133/2 "2017-07-06T02:34:40Z")

</div>


