{"record":{"id":"464f7e0f64c8efbf","repo":"usebruno/bruno","slug":"unknown-collection-format-464f7e","errorCode":null,"errorMessage":"Unknown collection format","messagePattern":"Unknown collection format","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/components/Sidebar/ImportCollectionLocation/index.js","lineNumber":91,"sourceCode":"        collection = result.collection;\n        issues = result.issues || [];\n        break;\n      }\n      case 'insomnia':\n        collection = convertInsomniaToBruno(rawData);\n        break;\n      case 'bruno':\n        collection = await processBrunoCollection(rawData);\n        break;\n      case 'opencollection':\n        collection = await processOpenCollection(rawData);\n        break;\n      case 'bruno-zip':\n        // ZIP doesn't need conversion\n        collection = rawData;\n        break;\n      default:\n        throw new Error('Unknown collection format');\n    }\n\n    return { collection, issues };\n  } catch (err) {\n    console.error('Conversion error:', err);\n    toastError(err, 'Failed to convert collection');\n    throw err;\n  }\n};\n\nconst groupingOptions = [\n  { value: 'tags', label: 'Tags', description: 'Group requests by OpenAPI/Swagger tags', testId: 'grouping-option-tags' },\n  { value: 'path', label: 'Paths', description: 'Group requests by URL path structure', testId: 'grouping-option-path' }\n];\n\nconst ImportCollectionLocation = ({ onClose, handleSubmit, rawData, format, sourceUrl, filePath, rawContent }) => {\n  const inputRef = useRef();\n  const dispatch = useDispatch();","sourceCodeStart":73,"sourceCodeEnd":109,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/components/Sidebar/ImportCollectionLocation/index.js#L73-L109","documentation":"Error \"Unknown collection format\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/components/Sidebar/ImportCollectionLocation/index.js:91 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pick a supported collection format from the import dialog.","Re-export from the source tool in a supported format."],"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"}