Elasticsearch exception reason=key [types] is not supported in the metadata section

Just in case someone has the same issue, it turned out that I needed to remove this from the Opensearch config file:

compatibility.override_main_response_version: true

Thanks again guys for all your help!

4 Likes