Invalid hipchat account name missing required ROOM SETTING setting for – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when the Elasticsearch HipChat plugin is not properly configured. The error message indicates that the required room setting for the HipChat account is missing. To resolve this issue, you can check the Elasticsearch configuration file and ensure that the HipChat account settings, particularly the room setting, are correctly configured. Alternatively, you can also check if the HipChat plugin is correctly installed and updated to the latest version.

This guide will help you check for common problems that cause the log ” invalid hipchat account [” + name + “]. missing required [” + ROOM_SETTING + “] setting for [ ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “invalid hipchat account [” + name + “]. missing required [” + ROOM_SETTING + “] setting for [” class name is IntegrationAccount.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 public IntegrationAccount(String name; Settings settings; HipChatServer defaultServer; HttpClient httpClient; Logger logger) {
 super(name; Profile.INTEGRATION; settings; defaultServer; httpClient; logger);
 List rooms = settings.getAsList(ROOM_SETTING; null);
 if (rooms == null || rooms.isEmpty()) {
 throw new SettingsException("invalid hipchat account [" + name + "]. missing required [" + ROOM_SETTING + "] setting for [" +
 TYPE + "] account profile");
 }
 if (rooms.size() > 1) {
 throw new SettingsException("invalid hipchat account [" + name + "]. [" + ROOM_SETTING + "] setting for [" + TYPE + "] " +
 "account must only be set with a single value");

 

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?