{"record":{"id":"8bcac70037a260fd","repo":"usebruno/bruno","slug":"unsupported-collection-type-type","errorCode":null,"errorMessage":"Unsupported collection type: ${type}","messagePattern":"Unsupported collection type: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js","lineNumber":79,"sourceCode":"    }\n    case 'insomnia': {\n      const { convertInsomniaToBruno } = await import('utils/importers/insomnia-collection');\n      return convertInsomniaToBruno(collection);\n    }\n    case 'openapi': {\n      const { convertOpenapiToBruno } = await import('utils/importers/openapi-collection');\n      return convertOpenapiToBruno(collection);\n    }\n    case 'opencollection': {\n      const { processOpenCollection } = await import('utils/importers/opencollection');\n      return processOpenCollection(collection);\n    }\n    case 'wsdl': {\n      const { wsdlToBruno } = await import('@usebruno/converters');\n      return wsdlToBruno(collection);\n    }\n    default:\n      throw new Error(`Unsupported collection type: ${type}`);\n  }\n};\n\n/**\n * Creates a temporary workspace in Redux without touching the filesystem.\n * The workspace is only persisted to disk when the user confirms the name.\n */\nexport const createWorkspaceWithUniqueName = (location) => {\n  return async (dispatch) => {\n    const { uuid: generateUuid } = await import('utils/common');\n    const tempUid = generateUuid();\n    const name = await ipcRenderer?.invoke('renderer:find-unique-folder-name', 'Untitled Workspace', location) || 'Untitled Workspace';\n\n    dispatch(createWorkspace({\n      uid: tempUid,\n      name,\n      pathname: null,\n      collections: [],","sourceCodeStart":61,"sourceCodeEnd":97,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js#L61-L97","documentation":"Error \"Unsupported collection type: ${type}\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.js:79 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported collection type (e.g. 'collection'); check the value passed when adding to the workspace.","Update Bruno if the type was introduced in a newer version."],"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"}