if (profile.getEndpointUserId() == null || profile.getEndpointUserId().isEmpty()) { LOG.info("Can't find listeners for unassigned endpoint!"); return new EventListenersResponse(request.getRequestId(), null, SyncStatus.FAILURE); LOG.info("There is only one endpoint(current) assigned to this user!"); List<String> emptyList = Collections.emptyList(); return new EventListenersResponse(request.getRequestId(), emptyList, SyncStatus.SUCCESS); result.add(Base64Util.encode(eoHash.getData())); return new EventListenersResponse(request.getRequestId(), result, SyncStatus.SUCCESS);