xai-org/grok-build · warning
Session sharing is temporarily disabled
Error message
Session sharing is temporarily disabled
What it means
The session share command is a stub that unconditionally bails with 'Session sharing is temporarily disabled'. It ignores its arguments (`let _ = (args, agent_config)`) — no configuration or credential can enable it. This is an intentional server-side/product-level disable, not a user error.
Source
Thrown at crates/codegen/xai-grok-pager/src/share_cmd.rs:12
use anyhow::Result;
use xai_grok_shell::agent::config::Config as AgentConfig;
#[derive(Debug, clap::Args, Clone)]
pub struct ShareArgs {
/// Session ID to share
pub session_id: String,
}
pub async fn run(args: &ShareArgs, agent_config: &AgentConfig) -> Result<()> {
let _ = (args, agent_config);
anyhow::bail!("Session sharing is temporarily disabled");
}
View on GitHub (pinned to bc7f02eddd)
Solutions
- Do not use session sharing — it is disabled in this build; export the session transcript via other means (e.g. copy the session file).
- Check release notes/docs for when sharing returns.
- Remove share steps from scripts/workflows and handle the failure.
Defensive patterns
Strategy: fallback
Try / catch
// detect and degrade gracefully
match result {
Err(e) if e.to_string().contains("temporarily disabled") => {
eprintln!("sharing unavailable; exporting transcript locally instead");
export_local_transcript()?;
}
other => other?,
} Prevention
- Do not build workflows around `grok share` in current versions.
- Feature-check by attempting once at startup and caching the disabled state.
- Track release notes for re-enablement.
When it happens
Trigger: Any invocation of `grok share <session_id>` (run in share_cmd.rs) regardless of arguments or config.
Common situations: Following older documentation or workflows that used session sharing; automation scripts still calling the share subcommand.
Related errors
- no target specified
- send failed: {body}
- screen query failed: {body}
- resize failed: {body}
- wait failed: {body}
AI-assisted analysis of xai-org/grok-build@bc7f02eddd (2026-08-31).
Data as JSON: /api/errors/7d96c01d57bc8916.
Report an issue: GitHub.