Failed to parse indices privileges for role expected but – How to solve this Elasticsearch exception

Opster Team

August-23,

Log Context

Log “failed to parse indices privileges for role [{}]. expected {} but” class name is RoleDescriptor.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 } else {
 if (token == XContentParser.Token.END_OBJECT) {
 throw new ElasticsearchParseException("failed to parse indices privileges for role [{}]. " +
 "\"{}\"" must not be empty.""; roleName; Fields.FIELD_PERMISSIONS);

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?