{"record":{"id":"087c57de7a6085de","repo":"usebruno/bruno","slug":"workspace-path-is-undefined","errorCode":null,"errorMessage":"Workspace path is undefined","messagePattern":"Workspace path is undefined","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-electron/src/ipc/workspace.js","lineNumber":178,"sourceCode":"\n      if (workspaceWatcher) {\n        workspaceWatcher.addWatcher(mainWindow, workspacePath);\n      }\n\n      return {\n        workspaceConfig: configForClient,\n        workspaceUid,\n        workspacePath\n      };\n    } catch (error) {\n      throw error;\n    }\n  });\n\n  ipcMain.handle('renderer:load-workspace-collections', async (event, workspacePath) => {\n    try {\n      if (!workspacePath) {\n        throw new Error('Workspace path is undefined');\n      }\n\n      validateWorkspacePath(workspacePath);\n      return getWorkspaceCollections(workspacePath);\n    } catch (error) {\n      throw error;\n    }\n  });\n\n  ipcMain.handle('renderer:load-unopenable-workspace-collections', async (event, workspacePath) => {\n    try {\n      if (!workspacePath) {\n        throw new Error('Workspace path is undefined');\n      }\n\n      validateWorkspacePath(workspacePath);\n      return getUnopenableWorkspaceCollections(workspacePath);\n    } catch (error) {","sourceCodeStart":160,"sourceCodeEnd":196,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-electron/src/ipc/workspace.js#L160-L196","documentation":"Error \"Workspace path is undefined\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-electron/src/ipc/workspace.js:178 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide a workspace path for the operation.","Open the workspace first so its path is available."],"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"}