spacedriveapp/spacedrive · error

ContentIdentity missing UUID

Error message

ContentIdentity missing UUID

What it means

Error "ContentIdentity missing UUID" thrown in spacedriveapp/spacedrive.

Source

Thrown at core/src/ops/media/thumbstrip/processor.rs:119

	pub async fn process(
		&self,
		db: &sea_orm::DatabaseConnection,
		entry: &ProcessorEntry,
	) -> Result<ProcessorResult> {
		// Get content UUID
		let content_uuid = if let Some(content_id) = entry.content_id {
			use crate::infra::db::entities::content_identity;
			use sea_orm::{ColumnTrait, EntityTrait, QueryFilter};

			let ci = content_identity::Entity::find()
				.filter(content_identity::Column::Id.eq(content_id))
				.one(db)
				.await?
				.ok_or_else(|| anyhow::anyhow!("ContentIdentity not found"))?;

			ci.uuid
				.ok_or_else(|| anyhow::anyhow!("ContentIdentity missing UUID"))?
		} else {
			return Ok(ProcessorResult::failure(
				"Entry has no content_id".to_string(),
			));
		};

		let mime_type = entry
			.mime_type
			.as_ref()
			.ok_or_else(|| anyhow::anyhow!("Entry has no MIME type"))?;

		if !mime_type.starts_with("video/") {
			debug!("Thumbstrips only supported for video files");
			return Ok(ProcessorResult::success(0, 0));
		}

		debug!("→ Generating thumbstrip for: {}", entry.path.display());

View on GitHub (pinned to 6dfeccf211)

When it happens

Trigger: Thrown at core/src/ops/media/thumbstrip/processor.rs:119 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of spacedriveapp/spacedrive@6dfeccf211 (2026-08-16). Data as JSON: /api/errors/5542641320f5d011. Report an issue: GitHub.