{"record":{"id":"0debb86e6e82966b","repo":"usebruno/bruno","slug":"unsupported-collection-format","errorCode":null,"errorMessage":"Unsupported collection format","messagePattern":"Unsupported collection format","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/components/Sidebar/ImportCollection/FileTab.js","lineNumber":166,"sourceCode":"        throw new Error('Failed to parse file content');\n      }\n\n      let type = null;\n\n      if (isOpenApiSpec(data)) {\n        type = 'openapi';\n      } else if (isWSDLCollection(data)) {\n        type = 'wsdl';\n      } else if (isPostmanCollection(data)) {\n        type = 'postman';\n      } else if (isInsomniaCollection(data)) {\n        type = 'insomnia';\n      } else if (isOpenCollection(data)) {\n        type = 'opencollection';\n      } else if (isBrunoCollection(data)) {\n        type = 'bruno';\n      } else {\n        throw new Error('Unsupported collection format');\n      }\n\n      if (type === 'openapi') {\n        const filePath = window.ipcRenderer.getFilePath(file);\n        const rawContent = await file.text();\n        await handleSubmit({ rawData: data, type, filePath, rawContent });\n      } else {\n        await handleSubmit({ rawData: data, type });\n      }\n    } catch (err) {\n      toastError(err, 'Import collection failed');\n    } finally {\n      setIsLoading(false);\n    }\n  };\n\n  const processFiles = async (files) => {\n    setErrorMessage('');","sourceCodeStart":148,"sourceCodeEnd":184,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/components/Sidebar/ImportCollection/FileTab.js#L148-L184","documentation":"Error \"Unsupported collection format\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/components/Sidebar/ImportCollection/FileTab.js:166 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Convert the collection to a supported format (Bruno/Postman/Insomnia/OpenAPI) before importing.","Check the file's root structure matches a known collection schema."],"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"}