atuinsh/atuin · error
password is incorrect
Error message
password is incorrect
What it means
Match arm in the auth-module delete_account: the DELETE /account request carrying the password proof returned HTTP 401 UNAUTHORIZED, meaning the password supplied to authorize account deletion is wrong. The account is not deleted.
Source
Thrown at crates/atuin-client/src/auth.rs:230
}
}
}
async fn delete_account(
&self,
password: &str,
_totp_code: Option<&str>,
) -> Result<MutateResponse> {
let client = self.authenticated_client()?;
let url = self.address.append(["account"])?;
let resp =
client.delete(url).json(&serde_json::json!({ "password": password })).send().await?;
match resp.status().as_u16() {
200 => Ok(MutateResponse::Success),
401 => {
bail!("password is incorrect");
}
403 => {
bail!("invalid login details");
}
_ => {
bail!("unknown error");
}
}
}
}
// ---------------------------------------------------------------------------
// Hub backend — talks to the Hub v0 API endpoints
// ---------------------------------------------------------------------------
pub struct HubAuthClient {
address: Url,
hub_token: Option<String>,View on GitHub (pinned to c0c717ab04)
Solutions
- Re-enter the account password correctly and retry the deletion
- If the password is forgotten, recover it first, then delete the account
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/atuin-client/src/auth.rs:230 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of atuinsh/atuin@c0c717ab04 (2026-09-12).
Data as JSON: /api/errors/10f76636ead0409a.
Report an issue: GitHub.