usebruno/bruno · error · Error

Workspace not found

Error message

Workspace not found

What it means

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

Source

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

        await dispatch(switchWorkspace(workspaceUid));

        return result;
      } else {
        return null;
      }
    } catch (error) {
      throw error;
    }
  };
};

export const connectCollectionToGit = ({ workspaceUid, collectionPath, remoteUrl }) => {
  return async (dispatch, getState) => {
    try {
      const workspace = getState().workspaces.workspaces.find((w) => w.uid === workspaceUid);
      if (!workspace) {
        throw new Error('Workspace not found');
      }

      await ipcRenderer.invoke(
        'renderer:connect-collection-to-git',
        workspace.pathname,
        collectionPath,
        remoteUrl
      );

      return true;
    } catch (error) {
      toast.error(error.message || 'Failed to connect Git remote');
      throw error;
    }
  };
};

export const disconnectCollectionFromGit = ({ workspaceUid, collectionPath }) => {

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Re-open the workspace from its directory on disk.
  2. Verify workspace.yml still exists in the workspace path.

When it happens

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