usebruno/bruno · error · Error

Item is not a request: ${pathname}

Error message

Item is not a request: ${pathname}

What it means

Error "Item is not a request: ${pathname}" thrown in usebruno/bruno.

Source

Thrown at packages/bruno-app/src/components/CollectionApp/index.js:227

    [dispatch, item.uid, collection.uid]
  );
  const onSave = useCallback(
    () => dispatch(saveRequest(item.uid, collection.uid)),
    [dispatch, item.uid, collection.uid]
  );

  // Execute a single request by its pathname (returned earlier from listRequests).
  // Mirrors AppView.handleSendRequest: mints a requestUid, registers the run, merges
  // overrides into runtime variables, sends, and dispatches responseReceived so the
  // request's normal Response pane updates too.
  const runRequestByPath = useCallback(
    async (pathname, options) => {
      const target = findItemInCollectionByPathname(collection, pathname);
      if (!target) {
        throw new Error(`Request not found: ${pathname}`);
      }
      if (!isItemARequest(target)) {
        throw new Error(`Item is not a request: ${pathname}`);
      }

      const requestUid = uuid();
      const requestItem = cloneDeep(target.draft || target);
      requestItem.requestUid = requestUid;
      dispatch(
        initRunRequestEvent({ requestUid, itemUid: target.uid, collectionUid: collection.uid })
      );

      const runtimeOverrides
        = options && typeof options.runtimeVariables === 'object' && options.runtimeVariables
          ? options.runtimeVariables
          : {};
      const mergedRuntime = {
        ...(collection.runtimeVariables || {}),
        ...runtimeOverrides
      };

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Select a request item instead of a folder; this action only applies to requests.
  2. Check the item type in the sidebar before running the action.

When it happens

Trigger: Thrown at packages/bruno-app/src/components/CollectionApp/index.js:227 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/88f4af3b0d482d50. Report an issue: GitHub.