ElasticSearch throwing 400 when deleting index on python


(Wilson Kao) #1

I am getting a 400 error when trying to delete an index from elastic search using the python api

res = es.indices.delete(index=index_name)
and we are getting this exception

RequestError: TransportError(400, u'illegal_argument_exception')

however when delete the index manually through postman, it works. its also worth noting we don't get this error everyday which is very odd. also just for note, this is a relatively big search index, not sure if that has to do with anything though (>10gb). we have also checked that the index exists before getting this error.

I also have noticed other people getting a similar error but they have reasons attached to their responses, while mine doesn't.

thanks in advanced


(system) #2

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