usebruno/bruno · error · Error

Collection was moved into the workspace but could not be re-

Error message

Collection was moved into the workspace but could not be re-opened. Reload the workspace to access it.

What it means

Error "Collection was moved into the workspace but could not be re-opened. Reload the workspace to access it." thrown in usebruno/bruno.

Source

Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:2684

        collectionUid,
        collectionName: collection.name
      })
      .then(async (result) => {
        dispatch(closeAllCollectionTabs({ collectionUid }));
        dispatch(removeCollectionFromWorkspace({
          workspaceUid: activeWorkspace.uid,
          collectionLocation: collection.pathname
        }));
        await waitForNextTick();
        dispatch(_removeCollection({ collectionUid }));

        if (result?.newPath) {
          const openResult = await dispatch(openMultipleCollections([result.newPath], { workspacePath: activeWorkspace.pathname }));
          const reopened = (openResult?.opened || []).some(
            (openedPath) => normalizePath(openedPath) === normalizePath(result.newPath)
          );
          if (!reopened) {
            throw new Error('Collection was moved into the workspace but could not be re-opened. Reload the workspace to access it.');
          }
        }
        dispatch(ensureActiveTabInCurrentWorkspace());
      })
      .then(resolve)
      .catch(reject);
  });
};

export const browseDirectory = () => (dispatch, getState) => {
  const { ipcRenderer } = window;

  return new Promise((resolve, reject) => {
    ipcRenderer.invoke('renderer:browse-directory').then(resolve).catch(reject);
  });
};

export const browseDirectories = () => (dispatch, getState) => {

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Reload the workspace (File > Reload Workspace) to re-open the moved collection.
  2. Check the collection directory exists and contains bruno.json or opencollection.yml.

When it happens

Trigger: Thrown at packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js:2684 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/fd0fe908a6c96ca1. Report an issue: GitHub.