zellij-org/zellij · error · anyhow::Error
Worker name not specified in message to worker
Error message
Worker name not specified in message to worker
What it means
Error "Worker name not specified in message to worker" thrown in zellij-org/zellij.
Solutions
- Set the worker name when posting a message to a worker; omit it when messaging a plugin.
- Check the plugin's post_message call targets the right destination type.
When it happens
Trigger: Occurs at zellij-server/src/plugins/zellij_exports.rs:2590 when the operation fails: "Worker name not specified in message to worker". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.
Common situations: Plugin code misusing the worker messaging API.
AI-assisted analysis of zellij-org/zellij@5cb5df5cce (2026-08-19).
Data as JSON: /api/errors/a8603e4c3a17c1bb.
Report an issue: GitHub.
Appendix: source
Thrown at zellij-server/src/plugins/zellij_exports.rs:2590
context: BTreeMap<String, String>,
) {
let _ = env
.senders
.send_to_background_jobs(BackgroundJob::WebRequest(
env.plugin_id,
env.client_id,
url,
verb,
headers,
body,
context,
));
}
fn post_message_to(env: &PluginEnv, plugin_message: PluginMessage) -> Result<()> {
let worker_name = plugin_message
.worker_name
.ok_or(anyhow!("Worker name not specified in message to worker"))?;
env.senders
.send_to_plugin(PluginInstruction::PostMessagesToPluginWorker(
env.plugin_id,
env.client_id,
worker_name,
vec![(plugin_message.name, plugin_message.payload)],
))
}
fn post_message_to_plugin(env: &PluginEnv, plugin_message: PluginMessage) -> Result<()> {
if let Some(worker_name) = plugin_message.worker_name {
return Err(anyhow!(
"Worker name (\"{}\") should not be specified in message to plugin",
worker_name
));
}
env.senders
.send_to_plugin(PluginInstruction::PostMessageToPlugin(View on GitHub (pinned to 5cb5df5cce)