diff --git a/packages/bruno-app/src/components/SaveTransientRequest/index.js b/packages/bruno-app/src/components/SaveTransientRequest/index.js index 580e815d1..6617ed7ec 100644 --- a/packages/bruno-app/src/components/SaveTransientRequest/index.js +++ b/packages/bruno-app/src/components/SaveTransientRequest/index.js @@ -125,6 +125,11 @@ const SaveTransientRequest = ({ item: itemProp, collection: collectionProp, isOp return; } + if (!validateName(trimmedName)) { + toast.error(validateNameError(trimmedName)); + return; + } + const sanitizedFilename = sanitizeName(trimmedName); const itemToSave = latestItem.draft ? { ...latestItem, ...latestItem.draft } : { ...latestItem };