diff --git a/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/js/categorization/tags/EditTagsModal.es.js b/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/js/categorization/tags/EditTagsModal.es.js index 676a795bfde165..e56ad4d5311eb2 100644 --- a/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/js/categorization/tags/EditTagsModal.es.js +++ b/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/js/categorization/tags/EditTagsModal.es.js @@ -77,7 +77,9 @@ const EditTagsModal = ({ }; return fetch(`${pathModule}${url}`, init) - .then((response) => response.json()) + .then((response) => + response.status === 204 ? '' : response.json() + ) .catch(() => { onModalClose(); });