No calendar with id Strings arrayToCommaDelimitedString idTokens – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.1-8.9

Briefly, this error occurs when Elasticsearch tries to access a calendar with a specific ID, but it can’t find it. This could be due to the calendar being deleted, not yet created, or a typo in the ID. To resolve this issue, you can verify the existence of the calendar with the correct ID, ensure the calendar is created before it’s accessed, or check for any typographical errors in the ID.

This guide will help you check for common problems that cause the log ” No calendar with id [” + Strings.arrayToCommaDelimitedString(idTokens) + “] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “No calendar with id [” + Strings.arrayToCommaDelimitedString(idTokens) + “]” class name is CalendarQueryBuilder.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 public boolean isForAllCalendars() {
 return Strings.isAllOrWildcard(idTokens);
 }  public Exception buildNotFoundException() {
 return new ResourceNotFoundException("No calendar with id [" + Strings.arrayToCommaDelimitedString(idTokens) + "]");
 }  /**
 * Sort results by calendar_id
 * @param sort Sort if true

 

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?