diff --git a/js/src/common/Application.tsx b/js/src/common/Application.tsx
index f840fdea8..461b25952 100644
--- a/js/src/common/Application.tsx
+++ b/js/src/common/Application.tsx
@@ -438,6 +438,10 @@ export default class Application {
       }
 
       try {
+        if (responseText === '') {
+          return null;
+        }
+
         return JSON.parse(responseText);
       } catch (e) {
         throw new RequestError<ResponseType>(500, `${responseText}`, options, xhr);