ApiError(406, 'Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported', 'Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported')
When I updated my python from 3.6 to 3.10 I got this Error. am using Elasticsearch 7.2.0 and the python module is pip version of elasticsearch 6.0.0
Could you please share the following information:
1 - Elasticsearch server version
2 - Elasticsearch client library version (Python module)
3 - The code snippet that is generating the error (without including credential information, please)
Elasticsearch Version -- 7.2.0
Elasticsearch library version is -- 7.0.0
Python Version 3.10.9
When I Perform any query individually It works well. But, When I Working on Flask API at the line of query It generates the error like that
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.