diff --git a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java b/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
+++ b/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
@@ -803,6 +803,10 @@ public class ElasticsearchService implements SearchService, MolgenisTransactionL
 			}
 		});
 
+		if( request.request().getItems().isEmpty() ){
+			return Stream.<Entity>empty();
+		}
+		
 		MultiGetResponse response = request.get();
 
 		if (LOG.isDebugEnabled())
Fix #<I> Uploading a VCF will throw an error