{"record":{"id":"1a67fa02d4bdd753","repo":"usebruno/bruno","slug":"workspace-creation-location-not-found","errorCode":null,"errorMessage":"Workspace creation location not found","messagePattern":"Workspace creation location not found","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js","lineNumber":121,"sourceCode":"    await dispatch(switchWorkspace(tempUid));\n\n    return { workspaceUid: tempUid };\n  };\n};\n\n/**\n * Confirms creation of a temporary workspace by persisting it to the filesystem.\n */\nexport const confirmWorkspaceCreation = (tempWorkspaceUid, workspaceName) => {\n  return async (dispatch, getState) => {\n    const tempWorkspace = getState().workspaces.workspaces.find((w) => w.uid === tempWorkspaceUid);\n    if (!tempWorkspace) {\n      throw new Error('Temporary workspace not found');\n    }\n\n    const location = tempWorkspace.creationLocation;\n    if (!location) {\n      throw new Error('Workspace creation location not found');\n    }\n\n    const baseFolderName = sanitizeName(workspaceName);\n    const folderName = await ipcRenderer?.invoke('renderer:find-unique-folder-name', baseFolderName, location) || baseFolderName;\n\n    const result = await ipcRenderer.invoke(\n      'renderer:create-workspace',\n      workspaceName,\n      folderName,\n      location\n    );\n\n    const { workspaceUid: realUid, workspacePath, workspaceConfig } = result;\n\n    // Clean up the temp workspace's scratch collection after IPC succeeds\n    // (doing it before would leave a broken state if the IPC call fails)\n    if (tempWorkspace.scratchCollectionUid) {\n      dispatch(removeCollection({ collectionUid: tempWorkspace.scratchCollectionUid }));","sourceCodeStart":103,"sourceCodeEnd":139,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js#L103-L139","documentation":"Error \"Workspace creation location not found\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js:121 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Choose an existing directory as the workspace creation location.","Create the parent directory first, then retry."],"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"}