{"record":{"id":"87e625ad0e4dd5f8","repo":"atuinsh/atuin","slug":"unknown-error-87e625","errorCode":null,"errorMessage":"unknown error","messagePattern":"unknown error","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/atuin-client/src/auth.rs","lineNumber":211,"sourceCode":"        let resp = client\n            .patch(url)\n            .json(&ChangePasswordRequest {\n                current_password: current_password.to_string(),\n                new_password: new_password.to_string(),\n            })\n            .send()\n            .await?;\n\n        match resp.status().as_u16() {\n            200 => Ok(MutateResponse::Success),\n            401 => {\n                bail!(\"current password is incorrect\");\n            }\n            403 => {\n                bail!(\"invalid login details\");\n            }\n            _ => {\n                bail!(\"unknown error\");\n            }\n        }\n    }\n\n    async fn delete_account(\n        &self,\n        password: &str,\n        _totp_code: Option<&str>,\n    ) -> Result<MutateResponse> {\n        let client = self.authenticated_client()?;\n        let url = self.address.append([\"account\"])?;\n\n        let resp =\n            client.delete(url).json(&serde_json::json!({ \"password\": password })).send().await?;\n\n        match resp.status().as_u16() {\n            200 => Ok(MutateResponse::Success),\n            401 => {","sourceCodeStart":193,"sourceCodeEnd":229,"githubUrl":"https://github.com/atuinsh/atuin/blob/c0c717ab04c881764bcad4b3d169a507e2432643/crates/atuin-client/src/auth.rs#L193-L229","documentation":"Wildcard arm of the status match in the auth-module change_password: the PATCH /account/password returned any status other than 200/401/403, so no specific diagnosis exists. A deliberately low-information sentinel; the concrete HTTP status is discarded by the match.","triggerScenarios":"Thrown at crates/atuin-client/src/auth.rs:211 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the password change; transient server errors land here","Inspect network traffic or server logs to recover the actual status code","Check https://status.atuin.sh if the failure repeats"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c0c717ab04c881764bcad4b3d169a507e2432643","analyzedAt":"2026-09-12T07:40:01.341Z","contentChangedAt":"2026-09-12T07:40:01.341Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}