_analyze API error

Unexpected exception indices:admin/analyze

I have admin privileges, but an error occurs.

GET _analyze
{
“analyzer”: “standard”,
“text” : “Earth is the third planet from the Sun and the only astronomical object known to harbor life.”
}

{
“error” : {
“root_cause” : [
{
“type” : “security_exception”,
“reason” : “Unexpected exception indices:admin/analyze”
}
],
“type” : “security_exception”,
“reason” : “Unexpected exception indices:admin/analyze”
},
“status” : 500
}

The version I am using is amazon/opendistro-for-elasticsearch:1.13.0

@goodbyepc

This API generates the below error in ES logs

java.lang.IllegalArgumentException: The array of keys must not be null

It has been fixed in ODFE 1.13.1 according to release notes.

1.13.2 version successful
Thank you for your answer.

1 Like