warpdotdev/warp · error · anyhow::Error

OAuth authorization expired.

Error message

OAuth authorization expired.

What it means

Error "OAuth authorization expired." thrown in warpdotdev/warp.

Source

Thrown at app/src/ai/agent_sdk/integration.rs:314

                                                    next_model_id,
                                                    next_mcp_servers_json,
                                                    next_remove_mcp_server_names,
                                                    next_worker_host,
                                                    next_enabled,
                                                    next_is_update,
                                                    next_attempt,
                                                );
                                            }
                                            Ok(OauthConnectTxStatus::Failed) => {
                                                ctx.terminate_app(
                                                    TerminationMode::ForceTerminate,
                                                    Some(Err(anyhow::anyhow!("OAuth authorization failed."))),
                                                );
                                            }
                                            Ok(OauthConnectTxStatus::Expired) => {
                                                ctx.terminate_app(
                                                    TerminationMode::ForceTerminate,
                                                    Some(Err(anyhow::anyhow!("OAuth authorization expired."))),
                                                );
                                            }
                                            Ok(OauthConnectTxStatus::Pending)
                                            | Ok(OauthConnectTxStatus::InProgress) => {
                                                // Should not be returned by poll_oauth_until_terminal.
                                                ctx.terminate_app(
                                                    TerminationMode::ForceTerminate,
                                                    Some(Err(anyhow::anyhow!("Unexpected non-terminal OAuth status returned"))),
                                                );
                                            }
                                            Err(err) => {
                                                ctx.terminate_app(
                                                    TerminationMode::ForceTerminate,
                                                    Some(Err(anyhow::anyhow!("Error polling OAuth status: {err}"))),
                                                );
                                            }
                                        }
                                    },

View on GitHub (pinned to e72fd7aacb)

When it happens

Trigger: Thrown at app/src/ai/agent_sdk/integration.rs:314 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of warpdotdev/warp@e72fd7aacb (2026-08-16). Data as JSON: /api/errors/97742af50ba72762. Report an issue: GitHub.