usebruno/bruno · error · Error
Request not found: ${pathname}
Error message
Request not found: ${pathname} What it means
Error "Request not found: ${pathname}" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/components/CollectionApp/index.js:224
const onEdit = useCallback(
(value) => dispatch(updateAppCode({ code: value, itemUid: item.uid, collectionUid: collection.uid })),
[dispatch, item.uid, collection.uid]
);
const onSave = useCallback(
() => dispatch(saveRequest(item.uid, collection.uid)),
[dispatch, item.uid, collection.uid]
);
// Execute a single request by its pathname (returned earlier from listRequests).
// Mirrors AppView.handleSendRequest: mints a requestUid, registers the run, merges
// overrides into runtime variables, sends, and dispatches responseReceived so the
// request's normal Response pane updates too.
const runRequestByPath = useCallback(
async (pathname, options) => {
const target = findItemInCollectionByPathname(collection, pathname);
if (!target) {
throw new Error(`Request not found: ${pathname}`);
}
if (!isItemARequest(target)) {
throw new Error(`Item is not a request: ${pathname}`);
}
const requestUid = uuid();
const requestItem = cloneDeep(target.draft || target);
requestItem.requestUid = requestUid;
dispatch(
initRunRequestEvent({ requestUid, itemUid: target.uid, collectionUid: collection.uid })
);
const runtimeOverrides
= options && typeof options.runtimeVariables === 'object' && options.runtimeVariables
? options.runtimeVariables
: {};
const mergedRuntime = {
...(collection.runtimeVariables || {}),View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Verify the request still exists in the collection sidebar; it may have been deleted or moved.
- Reload the collection (right-click > Reload) to resync the in-memory state with disk.
When it happens
Trigger: Thrown at packages/bruno-app/src/components/CollectionApp/index.js:224 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/cc662d2ce13bc3a3.
Report an issue: GitHub.