{"record":{"id":"ed32f70d9a95ea6b","repo":"tinyhumansai/openhuman","slug":"unsupported-auth-profile-schema-version-max-su","errorCode":null,"errorMessage":"Unsupported auth profile schema version {} (max supported: {})","messagePattern":"Unsupported auth profile schema version (.+?) \\(max supported: (.+?)\\)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/security/credentials/profiles.rs","lineNumber":999,"sourceCode":"                    .file_name()\n                    .and_then(|s| s.to_str())\n                    .unwrap_or(\"auth-profiles.corrupt\");\n                tracing::warn!(\n                    path_file = PROFILES_FILENAME,\n                    quarantined_file = quarantined_file,\n                    error = %err,\n                    \"[credentials] auth profile store unparseable; quarantined and reset to empty\"\n                );\n                return Ok(PersistedAuthProfiles::default());\n            }\n        };\n\n        if persisted.schema_version == 0 {\n            persisted.schema_version = CURRENT_SCHEMA_VERSION;\n        }\n\n        if persisted.schema_version > CURRENT_SCHEMA_VERSION {\n            anyhow::bail!(\n                \"Unsupported auth profile schema version {} (max supported: {})\",\n                persisted.schema_version,\n                CURRENT_SCHEMA_VERSION\n            );\n        }\n\n        Ok(persisted)\n    }\n\n    fn write_persisted_locked(&self, persisted: &PersistedAuthProfiles) -> Result<()> {\n        if let Some(parent) = self.path.parent() {\n            fs::create_dir_all(parent).with_context(|| {\n                format!(\n                    \"Failed to create auth profile directory at {}\",\n                    parent.display()\n                )\n            })?;\n        }","sourceCodeStart":981,"sourceCodeEnd":1017,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/security/credentials/profiles.rs#L981-L1017","documentation":"Raised while loading the persisted auth-profile store when its schema_version is newer than the maximum this build supports (CURorent max). It means the profiles file was written by a newer OpenHuman version; the loader refuses to interpret unknown schema rather than misreading or dropping credentials.","triggerScenarios":"Thrown at src/openhuman/security/credentials/profiles.rs:999 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Upgrade OpenHuman to a build that supports the newer schema version.","Restore a profiles file from a backup taken with a compatible version.","If downgrade is intentional, re-authenticate to rebuild the store in the old format."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}