{"record":{"id":"2d1e4750ca4b44e8","repo":"influxdata/influxdb","slug":"client-error-0","errorCode":null,"errorMessage":"client error: {0}","messagePattern":"client error: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"influxdb3/src/commands/show/system.rs","lineNumber":12,"sourceCode":"use std::path::PathBuf;\n\nuse clap::Parser;\nuse influxdb3_client::Client;\nuse secrecy::ExposeSecret;\nuse serde::Deserialize;\n\nuse super::super::common::{Format, InfluxDb3Config};\n\n#[derive(Debug, thiserror::Error)]\npub(crate) enum Error {\n    #[error(\"client error: {0}\")]\n    InfluxDB3Client(#[from] influxdb3_client::Error),\n\n    #[error(\"deserializing show tables: {0}\")]\n    DeserializingShowTables(#[source] serde_json::Error),\n\n    #[error(\"system table '{0}' not found: {1}\")]\n    SystemTableNotFound(String, SystemTableNotFound),\n\n    #[error(\"parquet format is not supported for this command\")]\n    ParquetFormatNotSupported,\n}\n\npub(super) type Result<T> = std::result::Result<T, Error>;\n\n#[derive(Debug, Parser)]\n#[clap(visible_alias = \"s\", trailing_var_arg = true)]\npub struct SystemConfig {\n    #[clap(subcommand)]","sourceCodeStart":1,"sourceCodeEnd":30,"githubUrl":"https://github.com/influxdata/influxdb/blob/06200ef96ba82c5f6727e5038a83af8e722c6875/influxdb3/src/commands/show/system.rs#L1-L30","documentation":"Variant of the `influxdb3 show system` command's Error enum, produced via #[from] when an influxdb3_client::Error occurs while querying a system table through the HTTP client. The raw client error is displayed prefixed with \"client error: \".","triggerScenarios":"Running `influxdb3 show system <table>` where the underlying HTTP request to the server fails: connection refused, non-2xx response, timeout, or malformed response built by influxdb3_client.","commonSituations":"Server not running or wrong --host/--port, TLS mismatch between client and server, expired/missing auth token, or network issues between CLI and server.","solutions":["Confirm the server is reachable at the given --host address (curl the health endpoint).","Check the token/credentials passed to the show command.","Inspect the inner influxdb3_client::Error text for the concrete HTTP cause.","Retry if the failure was transient network or timeout related."],"exampleFix":null,"handlingStrategy":"retry","validationCode":"curl -fsS \"$HOST/health\" >/dev/null || { echo 'server unreachable'; exit 1; }","typeGuard":null,"tryCatchPattern":"match cmd_result {\n    Err(Error::InfluxDB3Client(e)) => {\n        // inspect e: retry on timeout/transient, fix host/token on connect/auth errors\n    }\n    ...\n}","preventionTips":["Verify --host/--port and TLS settings before invoking show commands.","Supply a valid token and confirm server liveness first.","Apply retries with backoff for transient network errors."],"tags":["network","http","client","cli"],"backgroundTag":"http-request-failed","analyzedSha":"06200ef96ba82c5f6727e5038a83af8e722c6875","analyzedAt":"2026-09-19T12:55:30.003Z","contentChangedAt":"2026-09-19T12:55:30.003Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}