usebruno/bruno · error · Error
Cannot save transient request
Error message
Cannot save transient request
What it means
Error "Cannot save transient request" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:233
if (!collection) {
throw new Error('Collection not found');
}
const collectionCopy = cloneDeep(collection);
const item = findItemInCollection(collectionCopy, itemUid);
// Item is not used to save the bru file
// This is to validate if the bru content is associated with a valid item
if (!item) {
throw new Error('Not able to locate item');
}
const isTransient = tempDirectory && item.pathname.startsWith(tempDirectory);
if (isTransient) {
if (!silent) {
dispatch(addSaveTransientRequestModal({ item, collection }));
}
throw new Error('Cannot save transient request');
}
const { ipcRenderer } = window;
try {
if (['http-request', 'graphql-request'].includes(item?.type)) {
let json = await ipcRenderer.invoke('renderer:convert-to-json', item, content, collection.format);
delete json.isTransient;
await itemSchema.validate(json);
}
} catch (err) {
if (!silent) {
toast.custom(<SaveFileErrorModal error={err.message} />);
}
throw err;
}
try {
await ipcRenderer.invoke('renderer:save-file', item.pathname, content);View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Save the request inside a collection first; transient (unsaved) requests cannot be saved in place.
- Duplicate the request into a collection, then save.
When it happens
Trigger: Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:233 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/d9a8d684902ed9e8.
Report an issue: GitHub.