# Attachment mapper parsing exception

**URL:** <https://discuss.elastic.co/t/attachment-mapper-parsing-exception/13950>\
**Category:** Elasticsearch\
**Created:** [October 14, 2013, 10:30pm UTC](https://discuss.elastic.co/t/attachment-mapper-parsing-exception/13950 "2013-10-14T22:30:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Soep\_2](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Andrew\_Soep\_2](https://discuss.elastic.co/u/Andrew_Soep_2)\
**Post date:** [October 14, 2013, 10:30pm UTC](https://discuss.elastic.co/t/attachment-mapper-parsing-exception/13950/1 "2013-10-14T22:30:40Z")

</div>

Fatal error: Uncaught exception 'Elastica\Exception\ResponseException' with  
message 'MapperParsingException[Failed to extract [100000] characters of  
text for [null]]; nested: TikaException[TIKA-198: Illegal IOException from  
org.apache.tika.parser.microsoft.ooxml.OOXMLParser@71097ae8]; nested:  
IOException[Unable to read entire header; 0 bytes read; expected 512  
bytes];

Any ideas? I saw a Git issue about this, but it seemed to have been  
closed. I'm able to import many docs, but this particular PPT is causing  
issues.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 15, 2013, 6:04am UTC](https://discuss.elastic.co/t/attachment-mapper-parsing-exception/13950/2 "2013-10-15T06:04:14Z")

</div>

You probably hit the limit and your doc is bigger than 100000 chars.  
See README on mapper attachment project. There is a section about that.

## HTH

David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 oct. 2013 à 00:30, Andrew Soep [siraris@gmail.com](mailto:siraris@gmail.com) a écrit :

Fatal error: Uncaught exception 'Elastica\Exception\ResponseException' with message 'MapperParsingException[Failed to extract [100000] characters of text for [null]]; nested: TikaException[TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@71097ae8]; nested: IOException[Unable to read entire header; 0 bytes read; expected 512 bytes];

## Any ideas? I saw a Git issue about this, but it seemed to have been closed. I'm able to import many docs, but this particular PPT is causing issues.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:12am UTC](https://discuss.elastic.co/t/attachment-mapper-parsing-exception/13950/3 "2017-07-06T02:12:25Z")

</div>


