diff --git a/server/models/documents.js b/server/models/documents.js
index ab8d4a098..7dec15553 100644
--- a/server/models/documents.js
+++ b/server/models/documents.js
@@ -36,7 +36,7 @@ const Document = {
 
   addDocuments: async function (workspace, additions = []) {
     const VectorDb = getVectorDbClass();
-    if (additions.length === 0) return;
+    if (additions.length === 0) return { failed: [], embedded: [] };
     const embedded = [];
     const failedToEmbed = [];