usebruno/bruno · error · Error
Unknown error
Error message
Unknown error
What it means
Error "Unknown error" thrown in usebruno/bruno.
Source
Thrown at packages/bruno-converters/src/openapi/openapi-to-bruno.js:1048
return authTemplate;
};
let collectionAuth = buildCollectionAuth(securityConfig.supported[0]);
brunoCollection.root = {
request: {
auth: collectionAuth
},
meta: {
name: brunoCollection.name
},
docs: toSpecString(collectionData.info?.description)
};
return brunoCollection;
} catch (err) {
if (!(err instanceof Error)) {
throw new Error('Unknown error');
}
throw err;
}
};
export const openApiToBruno = (openApiSpecification, options = {}) => {
try {
if (typeof openApiSpecification !== 'object') {
openApiSpecification = jsyaml.load(openApiSpecification);
}
if (openApiSpecification.swagger && String(openApiSpecification.swagger).startsWith('2')) {
return swagger2ToBruno(openApiSpecification, options);
}
const collection = parseOpenApiCollection(openApiSpecification, options);
const transformedCollection = transformItemsInCollection(collection);
View on GitHub (pinned to 9bdd81c7bd)
Solutions
- Retry the operation; if it persists, check logs for the underlying exception.
- Validate the OpenAPI input document for structural issues.
When it happens
Trigger: Thrown at packages/bruno-converters/src/openapi/openapi-to-bruno.js:1048 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/ba39f89ee83eaf12.
Report an issue: GitHub.