{"record":{"id":"634bd2c6274e3f2c","repo":"spacedriveapp/spacedrive","slug":"entry-not-found-634bd2","errorCode":null,"errorMessage":"Entry not found","messagePattern":"Entry not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/src/service/file_sync/conduit.rs","lineNumber":233,"sourceCode":"\t/// Get last completed generation for a conduit\n\tpub async fn get_last_completed_generation(\n\t\t&self,\n\t\tconduit_id: i32,\n\t) -> Result<Option<sync_generation::Model>> {\n\t\tOk(sync_generation::Entity::find()\n\t\t\t.filter(sync_generation::Column::ConduitId.eq(conduit_id))\n\t\t\t.filter(sync_generation::Column::CompletedAt.is_not_null())\n\t\t\t.order_by_desc(sync_generation::Column::Generation)\n\t\t\t.one(&*self.db)\n\t\t\t.await?)\n\t}\n\n\t/// Get entry by ID (helper)\n\tpub async fn get_entry(&self, entry_id: i32) -> Result<entry::Model> {\n\t\tentry::Entity::find_by_id(entry_id)\n\t\t\t.one(&*self.db)\n\t\t\t.await?\n\t\t\t.ok_or_else(|| anyhow::anyhow!(\"Entry not found\"))\n\t}\n\n\t/// Delete a conduit\n\tpub async fn delete_conduit(&self, conduit_id: i32) -> Result<()> {\n\t\tsync_conduit::Entity::delete_by_id(conduit_id)\n\t\t\t.exec(&*self.db)\n\t\t\t.await?;\n\n\t\tOk(())\n\t}\n}\n","sourceCodeStart":215,"sourceCodeEnd":245,"githubUrl":"https://github.com/spacedriveapp/spacedrive/blob/6dfeccf2113039e35f2ce735f945e70dc3e4ea45/core/src/service/file_sync/conduit.rs#L215-L245","documentation":"Error \"Entry not found\" thrown in spacedriveapp/spacedrive.","triggerScenarios":"Thrown at core/src/service/file_sync/conduit.rs:233 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6dfeccf2113039e35f2ce735f945e70dc3e4ea45","analyzedAt":"2026-08-16T11:26:17.074Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}