usebruno/bruno · error · Error
Unknown collection format
Error message
Unknown collection format
What it means
Error "Unknown collection format" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-app/src/components/Sidebar/ImportCollectionLocation/index.js:91
collection = result.collection;
issues = result.issues || [];
break;
}
case 'insomnia':
collection = convertInsomniaToBruno(rawData);
break;
case 'bruno':
collection = await processBrunoCollection(rawData);
break;
case 'opencollection':
collection = await processOpenCollection(rawData);
break;
case 'bruno-zip':
// ZIP doesn't need conversion
collection = rawData;
break;
default:
throw new Error('Unknown collection format');
}
return { collection, issues };
} catch (err) {
console.error('Conversion error:', err);
toastError(err, 'Failed to convert collection');
throw err;
}
};
const groupingOptions = [
{ value: 'tags', label: 'Tags', description: 'Group requests by OpenAPI/Swagger tags', testId: 'grouping-option-tags' },
{ value: 'path', label: 'Paths', description: 'Group requests by URL path structure', testId: 'grouping-option-path' }
];
const ImportCollectionLocation = ({ onClose, handleSubmit, rawData, format, sourceUrl, filePath, rawContent }) => {
const inputRef = useRef();
const dispatch = useDispatch();View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Pick a supported collection format from the import dialog.
- Re-export from the source tool in a supported format.
When it happens
Trigger: Thrown at packages/bruno-app/src/components/Sidebar/ImportCollectionLocation/index.js:91 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/464f7e0f64c8efbf.
Report an issue: GitHub.