usebruno/bruno · error · Error

Workspace creation location not found

Error message

Workspace creation location not found

What it means

Error "Workspace creation location not found" thrown in usebruno/bruno.

Source

Thrown at packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js:121

    await dispatch(switchWorkspace(tempUid));

    return { workspaceUid: tempUid };
  };
};

/**
 * Confirms creation of a temporary workspace by persisting it to the filesystem.
 */
export const confirmWorkspaceCreation = (tempWorkspaceUid, workspaceName) => {
  return async (dispatch, getState) => {
    const tempWorkspace = getState().workspaces.workspaces.find((w) => w.uid === tempWorkspaceUid);
    if (!tempWorkspace) {
      throw new Error('Temporary workspace not found');
    }

    const location = tempWorkspace.creationLocation;
    if (!location) {
      throw new Error('Workspace creation location not found');
    }

    const baseFolderName = sanitizeName(workspaceName);
    const folderName = await ipcRenderer?.invoke('renderer:find-unique-folder-name', baseFolderName, location) || baseFolderName;

    const result = await ipcRenderer.invoke(
      'renderer:create-workspace',
      workspaceName,
      folderName,
      location
    );

    const { workspaceUid: realUid, workspacePath, workspaceConfig } = result;

    // Clean up the temp workspace's scratch collection after IPC succeeds
    // (doing it before would leave a broken state if the IPC call fails)
    if (tempWorkspace.scratchCollectionUid) {
      dispatch(removeCollection({ collectionUid: tempWorkspace.scratchCollectionUid }));

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Choose an existing directory as the workspace creation location.
  2. Create the parent directory first, then retry.

When it happens

Trigger: Thrown at packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js:121 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/1a67fa02d4bdd753. Report an issue: GitHub.