I am using ES 6.2 on ElasticCloud with python ES package and trying to create an index, but keeps getting weird not Found error
es_connection.indices.exists(index="test_index")
>> False
try:
result = es_connection.indices.create(index="test_index")
except Exception as e:
print(e)
>>NotFoundError(404, 'Not Found', {'statusCode': 404, 'error': 'Not Found'})
I don't understand what notFound it is throwing error about? Any idea how to solve this issue?