diff --git a/app/client/src/sagas/ActionExecutionSagas.ts b/app/client/src/sagas/ActionExecutionSagas.ts index 25db87946c..7e96be9e27 100644 --- a/app/client/src/sagas/ActionExecutionSagas.ts +++ b/app/client/src/sagas/ActionExecutionSagas.ts @@ -150,6 +150,8 @@ function* downloadSaga( message: "Download failed. File name was not provided", type: "error", }); + + if (event.callback) event.callback({ success: false }); return; } const dataType = getType(data);