{"record":{"id":"f718a708bdec7802","repo":"zellij-org/zellij","slug":"failed-to-serialized-plugin-ids","errorCode":null,"errorMessage":"Failed to serialized plugin ids: {}","messagePattern":"Failed to serialized plugin ids: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"zellij-server/src/plugins/zellij_exports.rs","lineNumber":941,"sourceCode":"            plugin_id: env.plugin_id,\n        });\n\n    env.senders\n        .send_to_screen(ScreenInstruction::RequestPluginPermissions(\n            env.plugin_id,\n            PluginPermission::new(env.plugin.location.to_string(), permissions),\n        ))\n}\n\nfn get_plugin_ids(env: &PluginEnv) {\n    let ids = PluginIds {\n        plugin_id: env.plugin_id,\n        zellij_pid: process::id(),\n        initial_cwd: env.plugin_cwd.clone(),\n        client_id: env.client_id,\n    };\n    ProtobufPluginIds::try_from(ids)\n        .map_err(|e| anyhow!(\"Failed to serialized plugin ids: {}\", e))\n        .and_then(|serialized| {\n            wasi_write_object(env, &serialized.encode_to_vec())?;\n            Ok(())\n        })\n        .with_context(|| {\n            format!(\n                \"failed to query plugin IDs from host for plugin {}\",\n                env.name()\n            )\n        })\n        .non_fatal();\n}\n\nfn get_zellij_version(env: &PluginEnv) {\n    let protobuf_zellij_version = ProtobufZellijVersion {\n        version: VERSION.to_owned(),\n    };\n    wasi_write_object(env, &protobuf_zellij_version.encode_to_vec())","sourceCodeStart":923,"sourceCodeEnd":959,"githubUrl":"https://github.com/zellij-org/zellij/blob/5cb5df5cce4e16c5d1c57c7c062e4a90a7823c41/zellij-server/src/plugins/zellij_exports.rs#L923-L959","documentation":"Error \"Failed to serialized plugin ids: {}\" thrown in zellij-org/zellij.","triggerScenarios":"Occurs at zellij-server/src/plugins/zellij_exports.rs:941 when the operation fails: \"Failed to serialized plugin ids: {}\". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.","commonSituations":"Typically version skew, corrupted data, or an unexpected payload shape.","solutions":["Check the attached error for the underlying serialization failure and fix the offending data.","Ensure plugin/wasm artifacts and zellij versions are compatible."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5cb5df5cce4e16c5d1c57c7c062e4a90a7823c41","analyzedAt":"2026-08-19T07:42:58.758Z","contentChangedAt":"2026-08-19T07:42:58.758Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}