diff --git a/framework/core/js/src/common/Application.tsx b/framework/core/js/src/common/Application.tsx index f840fdea8..461b25952 100644 --- a/framework/core/js/src/common/Application.tsx +++ b/framework/core/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(500, `${responseText}`, options, xhr);