{"record":{"id":"9b51203100cb4ccc","repo":"t8y2/dbx","slug":"unknown-method-method-9b5120","errorCode":null,"errorMessage":"unknown method: {method}","messagePattern":"unknown method: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"agents/drivers/tdengine/src/runtime.rs","lineNumber":214,"sourceCode":"                let database_info = TdengineDriver::test_connection(decode::<ConnectParams>(&params)?).await?;\n                Ok(json!({\"ok\": true, \"databaseInfo\": database_info}))\n            }\n            \"connect\" => {\n                self.close_session(LEGACY_SESSION_ID).await?;\n                self.open_session(LEGACY_SESSION_ID, decode::<ConnectParams>(&params)?).await?;\n                Ok(json!({\"ok\": true}))\n            }\n            \"disconnect\" => {\n                self.close_session(LEGACY_SESSION_ID).await?;\n                Ok(json!({\"ok\": true}))\n            }\n            \"shutdown\" => {\n                self.close_all_sessions().await;\n                Ok(json!({\"ok\": true}))\n            }\n            _ => {\n                if !is_driver_method(method) {\n                    bail!(\"unknown method: {method}\");\n                }\n                let id = session_id(&params).unwrap_or_else(|| LEGACY_SESSION_ID.to_string());\n                let session = self.session(&id).await?;\n                let mut driver = session.driver.lock().await;\n                let (token, _operation) = session.begin_operation();\n                dispatch_driver(&mut driver, method, &params, &token).await\n            }\n        }\n    }\n\n    async fn open_session(&self, id: &str, params: ConnectParams) -> Result<()> {\n        if id.trim().is_empty() {\n            bail!(\"agentSessionId is required\");\n        }\n        {\n            let sessions = self.sessions.read().await;\n            if sessions.contains_key(id) {\n                bail!(\"agent session already exists: {id}\");","sourceCodeStart":196,"sourceCodeEnd":232,"githubUrl":"https://github.com/t8y2/dbx/blob/c0390bff16418b651f4728520d99adf8ce48829a/agents/drivers/tdengine/src/runtime.rs#L196-L232","documentation":"Bailed by the TDengine runtime dispatcher when an incoming method name is not one of the known lifecycle methods (connect/disconnect/test_connection/shutdown...) and also fails is_driver_method. It is the catch-all unknown-method guard: the runtime cannot route the request to any session or driver handler, so it fails with the method name embedded.","triggerScenarios":"Thrown at agents/drivers/tdengine/src/runtime.rs:214 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the method name for typos and casing","Verify the client/agent protocol versions are compatible; a newer client may call methods this runtime does not implement","Upgrade the TDengine agent to a version supporting the method"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c0390bff16418b651f4728520d99adf8ce48829a","analyzedAt":"2026-09-05T23:05:10.900Z","contentChangedAt":"2026-09-05T23:05:10.900Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}