elasticsearch.ApiError: ApiError(406, ‘Content-Type header [application/vnd.elasticsearch+x-ndjson; compatible-with=8] is not supported’, ‘Content-Type header [application/vnd.elasticsearch+x-ndjson; compatible-with=8] is not supported’)
Solution:
1. You need to keep the elasticsearch installation version consistent with the python elasticsearch third-party library (module) version to solve
view the server installation version
view the third-party library (module) version
2 If not, upgrade or downgrade the third-party library (module) to achieve consistency
Read More:
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- [Solved] Elasticsearch error: cannot downgrade a node from version [7.xx.x] to version [7.xx.x]
- How to Solve elasticsearch-7.15.1 operation errors
- How to Solve elasticsearch root user start Error
- How to Solve elasticSearch8.1.2 Install Error in Win10
- [Elasticsearch Exception]Found interface org.elasticsearch.common.bytes.BytesReference
- [Windows] elasticsearch.exceptions.RequestError: <unprintable RequestError object>
- How to Solve Docker Error: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
- Introduce wangeditor5 to run an error: You may need an appropriate loader to handle this file type (es6 compatibility issue)
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘
- [Solved] Elasticsearch Error: received plaintext http traffic on an https channel, closing connection…
- [Solved] ElasticSearch startup error: bootstrap checks failed
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- How to Solve ES error: “illegal_argument_exception”
- Exception: logstash:: pluginloadingerror when importing MySQL data into es in Windows
- [Solved] python Connect hive to Install sasl Error: Building wheel for sasl (setup.py) … error
- How to Solve elasticsearch and logstash Install Error
- [Solved] elasticsearch Error: Failed: 1: this action would add [6] total shards, but this cluster currently has [2
- After configuring the ES password, logstash starts with error 401?
- ElasticSearch Create Index Error: mapper_parsing_exception Root mapping definition has unsupported parameters