usebruno/bruno · error · Error
Duplicate request names are not allowed under the same folde
Error message
Duplicate request names are not allowed under the same folder
What it means
Error "Duplicate request names are not allowed under the same folder" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:949
throw new Error('Failed to rename the item name');
});
};
const renameFile = async () => {
const dirname = path.dirname(item.pathname);
let newPath = '';
if (item.type === 'folder') {
newPath = path.join(dirname, trim(newFilename));
} else {
const filename = resolveRequestFilename(newFilename, collection.format);
newPath = path.join(dirname, filename);
}
return ipcRenderer
.invoke('renderer:rename-item-filename', { oldPath: item.pathname, newPath, newName, newFilename, collectionPathname: collection.pathname })
.catch((err) => {
console.error(err);
throw new Error('Duplicate request names are not allowed under the same folder');
});
};
let renameOperation = null;
if (newName) renameOperation = renameName;
if (newFilename) renameOperation = renameFile;
if (!renameOperation) {
resolve();
}
renameOperation()
.then(() => {
toast.success('Item renamed successfully');
resolve();
})
.catch((err) => reject(err));
});View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Rename one of the conflicting requests so names are unique within the folder.
- Move the request to a different folder if the name must stay.
When it happens
Trigger: Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:949 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of usebruno/bruno@9bdd81c7bd (2026-08-13).
Data as JSON: /api/errors/77a9ef96af1df5ef.
Report an issue: GitHub.