Closed
Description
openedon Apr 30, 2021
Describe the feature:
Elasticsearch version (bin/elasticsearch --version
): 7.10
elasticsearch-py
version (elasticsearch.__versionstr__
): 7.12.1
Please make sure the major version matches the Elasticsearch server you are running.
Description of the problem including expected versus actual behavior: ES doesn't have /_watcher/_query/watches
endpoint till 7.11. But the client, even if the ES version is < 7.11, tries to send request to the same endpoint resulting in below error.
elasticsearch.exceptions.RequestError: RequestError(400, 'invalid_index_name_exception', "Invalid index name [_watcher], must not start with '_', '-', or '+'")
Steps to reproduce:
- Make sure the ES version >7 and <7.11
- Execute
es.xpack.client.watcher.query_watches()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels