if (Message.RESERVED_FIELDS.contains(csfr.key) && !Message.RESERVED_SETTABLE_FIELDS.contains(csfr.key)) {
LOG.error("Cannot add static field. Field [{}] is reserved.", csfr.key);
throw new WebApplicationException(Response.Status.BAD_REQUEST);
}
input.addStaticField(csfr.key, csfr.value);
Input mongoInput = inputService.find(input.getPersistId());
try {
inputService.addStaticField(mongoInput, csfr.key, csfr.value);
} catch (ValidationException e) {