usebruno/bruno · error · Error
An error occurred while parsing the Insomnia v5 collection:
Error message
An error occurred while parsing the Insomnia v5 collection: ${err.message} What it means
Error "An error occurred while parsing the Insomnia v5 collection: ${err.message}" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-converters/src/insomnia/insomnia-to-bruno.js:241
};
}
return null;
}).filter(Boolean);
};
if (data.collection && Array.isArray(data.collection)) {
brunoCollection.items = parseCollectionItems(data.collection, data.collection);
}
// Parse environments if available
if (data.environments) {
brunoCollection.environments = buildV5Environments(data.environments);
}
return brunoCollection;
} catch (err) {
console.error('Error parsing collection:', err);
throw new Error('An error occurred while parsing the Insomnia v5 collection: ' + err.message);
}
};
const parseInsomniaCollection = (data) => {
const brunoCollection = {
name: '',
uid: uuid(),
version: '1',
items: [],
environments: []
};
try {
const insomniaResources = get(data, 'resources', []);
const insomniaCollection = insomniaResources.find((resource) => resource._type === 'workspace');
if (!insomniaCollection) {
throw new Error('Collection not found inside Insomnia export');View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Check the reported parse error and fix the Insomnia v5 export content.
- Re-export the collection from Insomnia and retry.
When it happens
Trigger: Thrown at packages/bruno-converters/src/insomnia/insomnia-to-bruno.js:241 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/fe88778692079b22.
Report an issue: GitHub.