{"record":{"id":"ba39f89ee83eaf12","repo":"usebruno/bruno","slug":"unknown-error","errorCode":null,"errorMessage":"Unknown error","messagePattern":"Unknown error","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-converters/src/openapi/openapi-to-bruno.js","lineNumber":1048,"sourceCode":"      return authTemplate;\n    };\n\n    let collectionAuth = buildCollectionAuth(securityConfig.supported[0]);\n\n    brunoCollection.root = {\n      request: {\n        auth: collectionAuth\n      },\n      meta: {\n        name: brunoCollection.name\n      },\n      docs: toSpecString(collectionData.info?.description)\n    };\n\n    return brunoCollection;\n  } catch (err) {\n    if (!(err instanceof Error)) {\n      throw new Error('Unknown error');\n    }\n    throw err;\n  }\n};\n\nexport const openApiToBruno = (openApiSpecification, options = {}) => {\n  try {\n    if (typeof openApiSpecification !== 'object') {\n      openApiSpecification = jsyaml.load(openApiSpecification);\n    }\n    if (openApiSpecification.swagger && String(openApiSpecification.swagger).startsWith('2')) {\n      return swagger2ToBruno(openApiSpecification, options);\n    }\n\n    const collection = parseOpenApiCollection(openApiSpecification, options);\n\n    const transformedCollection = transformItemsInCollection(collection);\n","sourceCodeStart":1030,"sourceCodeEnd":1066,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-converters/src/openapi/openapi-to-bruno.js#L1030-L1066","documentation":"Error \"Unknown error\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-converters/src/openapi/openapi-to-bruno.js:1048 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the operation; if it persists, check logs for the underlying exception.","Validate the OpenAPI input document for structural issues."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9bdd81c7bdc57006e5f5ebffb79321a8d979f712","analyzedAt":"2026-08-13T04:09:25.751Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}