usebruno/bruno · error · Error

Unsupported collection format

Error message

Unsupported collection format

What it means

Error "Unsupported collection format" thrown in usebruno/bruno.

Source

Thrown at packages/bruno-app/src/components/Sidebar/ImportCollection/FileTab.js:166

        throw new Error('Failed to parse file content');
      }

      let type = null;

      if (isOpenApiSpec(data)) {
        type = 'openapi';
      } else if (isWSDLCollection(data)) {
        type = 'wsdl';
      } else if (isPostmanCollection(data)) {
        type = 'postman';
      } else if (isInsomniaCollection(data)) {
        type = 'insomnia';
      } else if (isOpenCollection(data)) {
        type = 'opencollection';
      } else if (isBrunoCollection(data)) {
        type = 'bruno';
      } else {
        throw new Error('Unsupported collection format');
      }

      if (type === 'openapi') {
        const filePath = window.ipcRenderer.getFilePath(file);
        const rawContent = await file.text();
        await handleSubmit({ rawData: data, type, filePath, rawContent });
      } else {
        await handleSubmit({ rawData: data, type });
      }
    } catch (err) {
      toastError(err, 'Import collection failed');
    } finally {
      setIsLoading(false);
    }
  };

  const processFiles = async (files) => {
    setErrorMessage('');

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Convert the collection to a supported format (Bruno/Postman/Insomnia/OpenAPI) before importing.
  2. Check the file's root structure matches a known collection schema.

When it happens

Trigger: Thrown at packages/bruno-app/src/components/Sidebar/ImportCollection/FileTab.js:166 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/0debb86e6e82966b. Report an issue: GitHub.