{"record":{"id":"cc662d2ce13bc3a3","repo":"usebruno/bruno","slug":"request-not-found-pathname","errorCode":null,"errorMessage":"Request not found: ${pathname}","messagePattern":"Request not found: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/components/CollectionApp/index.js","lineNumber":224,"sourceCode":"\n  const onEdit = useCallback(\n    (value) => dispatch(updateAppCode({ code: value, itemUid: item.uid, collectionUid: collection.uid })),\n    [dispatch, item.uid, collection.uid]\n  );\n  const onSave = useCallback(\n    () => dispatch(saveRequest(item.uid, collection.uid)),\n    [dispatch, item.uid, collection.uid]\n  );\n\n  // Execute a single request by its pathname (returned earlier from listRequests).\n  // Mirrors AppView.handleSendRequest: mints a requestUid, registers the run, merges\n  // overrides into runtime variables, sends, and dispatches responseReceived so the\n  // request's normal Response pane updates too.\n  const runRequestByPath = useCallback(\n    async (pathname, options) => {\n      const target = findItemInCollectionByPathname(collection, pathname);\n      if (!target) {\n        throw new Error(`Request not found: ${pathname}`);\n      }\n      if (!isItemARequest(target)) {\n        throw new Error(`Item is not a request: ${pathname}`);\n      }\n\n      const requestUid = uuid();\n      const requestItem = cloneDeep(target.draft || target);\n      requestItem.requestUid = requestUid;\n      dispatch(\n        initRunRequestEvent({ requestUid, itemUid: target.uid, collectionUid: collection.uid })\n      );\n\n      const runtimeOverrides\n        = options && typeof options.runtimeVariables === 'object' && options.runtimeVariables\n          ? options.runtimeVariables\n          : {};\n      const mergedRuntime = {\n        ...(collection.runtimeVariables || {}),","sourceCodeStart":206,"sourceCodeEnd":242,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/components/CollectionApp/index.js#L206-L242","documentation":"Error \"Request not found: ${pathname}\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/components/CollectionApp/index.js:224 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9bdd81c7bdc57006e5f5ebffb79321a8d979f712","analyzedAt":"2026-08-13T04:09:25.751Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}