{"record":{"id":"b50d70f46738b6f9","repo":"usebruno/bruno","slug":"sample-collection-file-not-found-at-samplecolle","errorCode":null,"errorMessage":"Sample collection file not found at: ${sampleCollectionPath}","messagePattern":"Sample collection file not found at: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-electron/src/app/onboarding.js","lineNumber":31,"sourceCode":"  if (pendingSampleCollection) {\n    const { mainWindow: win, collectionPath, uid, brunoConfig } = pendingSampleCollection;\n    win.webContents.send('main:collection-opened', collectionPath, uid, brunoConfig);\n    ipcMain.emit('main:collection-opened', win, collectionPath, uid, brunoConfig);\n    pendingSampleCollection = null;\n  }\n});\n\n/**\n * Import sample collection for new users\n */\nasync function importSampleCollection(collectionLocation, mainWindow) {\n  // Handle both development and production paths\n  const sampleCollectionPath = app.isPackaged\n    ? path.join(process.resourcesPath, 'data', 'sample-collection.json')\n    : path.join(app.getAppPath(), 'resources', 'data', 'sample-collection.json');\n\n  if (!fs.existsSync(sampleCollectionPath)) {\n    throw new Error(`Sample collection file not found at: ${sampleCollectionPath}`);\n  }\n\n  const sampleCollectionData = fs.readFileSync(sampleCollectionPath, 'utf8');\n  const sampleCollection = JSON.parse(sampleCollectionData);\n\n  const collectionName = await findUniqueFolderName('Sample API Collection', collectionLocation);\n\n  const collectionToImport = {\n    ...sampleCollection,\n    name: collectionName\n  };\n\n  try {\n    const {\n      collectionPath: createdPath,\n      uid,\n      brunoConfig\n    } = await importCollection(","sourceCodeStart":13,"sourceCodeEnd":49,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-electron/src/app/onboarding.js#L13-L49","documentation":"Error \"Sample collection file not found at: ${sampleCollectionPath}\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-electron/src/app/onboarding.js:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reinstall or repair Bruno so the bundled sample collection is restored.","Skip onboarding and create a collection manually."],"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"}