There are a number of breaking changes in 2.0 RESTful APIs. I suspect (still need to confirm) that breaks opensearch.http.override_main_response_version=true (https://opensearch.org/docs/latest/clients/agents-and-ingestion-tools/index/).
I think we have two options.
a) Remove opensearch.http.override_main_response_version=true.
b) Ensure backwards compatibility.
This is tangentially related to opensearch-project/opensearch-clients#17.