DELETE API not working

ELASTIC 6.2.2 is behaving very weirdly all of a sudden !!! The index exists and when I am trying to delete it - it says the index doesnt exist !!

_GET cat/indices?v=true&v=true&s=index

health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open my_index gAMPwMtoTCmQvKdeTJgRdQ 5 1 0 0 1.1kb 1.1kb

DELETE /my_index;
{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "my_index;",
"index_uuid": "na",
"index": "my_index;"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "my_index;",
"index_uuid": "na",
"index": "my_index;"
},
"status": 404
}

Why do you have a semi-colon at the end?

I am really sorry for that absolute silly mistake !! Thanks & Regards for the help !! You can close this topic !!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.