Closed
Description
Elastic.Clients.Elasticsearch version**: 9.0.1
Elasticsearch version: 8.16.0
.NET runtime version: 8.0.15
Operating system version: Windows 11
Description of the problem including expected versus actual behavior:
When trying to execute a query a little more complex we are getting
"Accept version must be either version 8 or 7, but found 9. Accept=application/vnd.elasticsearch+json;compatible-with=9"
If we try to execute it directly via Postman by taking from debug the request all works fine
Steps to reproduce:
- Build complex query
- Execute it against Elastic Search 8.16.0
Expected behavior
Successful execution of the query
Provide ConnectionSettings
(if relevant):
Provide DebugInformation
(if relevant):