# NotXContentException when creating ingest pipeline in Elasticsearch 5.1.2 (Solaris)

**URL:** <https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951>\
**Category:** Elasticsearch\
**Created:** [July 24, 2019, 5:58am UTC](https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951 "2019-07-24T05:58:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie111985](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/newbie111985/32/17561_2.png) [@Newbie111985](https://discuss.elastic.co/u/Newbie111985)\
**Post date:** [July 24, 2019, 5:58am UTC](https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951/1 "2019-07-24T05:58:16Z")

</div>

Hi,

I am trying to create a ingest pipeline using below PUT request:  
{  
"description": "ContentExtractor",  
"processors": [  
{  
"extractor": {  
"field": "contentData",  
"target\_field": "content"  
}  
}  
]  
}

But this is resulting in following error:  
{  
"error": {  
"root\_cause": [  
{  
"type": "not\_x\_content\_exception",  
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"  
}  
],  
"type": "not\_x\_content\_exception",  
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"  
},  
"status": 500  
}

I see below exception in ES logs:  
org.elasticsearch.common.compress.NotXContentException: Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes  
at org.elasticsearch.common.compress.CompressorFactory.compressor(CompressorFactory.java:57) ~[elasticsearch-5.1.2.jar:5.1.2]  
at org.elasticsearch.common.xcontent.XContentHelper.convertToMap(XContentHelper.java:65) ~[elasticsearch-5.1.2.jar:5.1.2]  
at org.elasticsearch.ingest.PipelineStore.validatePipeline(PipelineStore.java:154) ~[elasticsearch-5.1.2.jar:5.1.2]  
at org.elasticsearch.ingest.PipelineStore.put(PipelineStore.java:133) ~[elasticsearch-5.1.2.jar:5.1.2]

This problem happening when Elasticsearch is running in Solaris, same request works fine in case of Linux. What am I doing wrong? Can somebody help me to fix this issue?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2019, 6:17am UTC](https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951/2 "2019-07-25T06:17:25Z")

</div>

I do not know anything about this issue, but would recommend against trying to run Elasticsearch on Solaris as [it is not a supported platform](https://www.elastic.co/support/matrix). If you try you are likely to run into issues that very few people can help you with.

---

<div class="post-metadata">

**Author:** ![Newbie111985](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/newbie111985/32/17561_2.png) [@Newbie111985](https://discuss.elastic.co/u/Newbie111985)\
**Post date:** [July 25, 2019, 6:39am UTC](https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951/3 "2019-07-25T06:39:09Z")

</div>

Oh, never bothered to check this but I should have done it first. Thanks a lot for your inputs.

---

<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:** [August 22, 2019, 6:39am UTC](https://discuss.elastic.co/t/notxcontentexception-when-creating-ingest-pipeline-in-elasticsearch-5-1-2-solaris/191951/4 "2019-08-22T06:39:13Z")

</div>

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