From 096fc8aa69fdfb675ffcdc4cb9978878499f4e73 Mon Sep 17 00:00:00 2001 From: Nilansh Bansal Date: Wed, 3 Sep 2025 10:47:30 +0530 Subject: [PATCH] fix: added docx types to binary (#41200) --- .../helpers/restApiUtils/helpers/RestAPIActivateUtils.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/RestAPIActivateUtils.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/RestAPIActivateUtils.java index 0edb631458..2d40fa2107 100644 --- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/RestAPIActivateUtils.java +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/RestAPIActivateUtils.java @@ -62,8 +62,10 @@ public class RestAPIActivateUtils { "application/octet-stream", "application/pdf", "application/pkcs8", - "application/x-binary"); - + "application/x-binary", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "application/vnd.openxmlformats-officedocument.presentationml.presentation"); public static HeaderUtils headerUtils = new HeaderUtils(); public Mono triggerApiCall(