{"record":{"id":"8d0905b4d7da7f5b","repo":"influxdata/influxdb","slug":"invalid-database-0","errorCode":null,"errorMessage":"invalid database {0}","messagePattern":"invalid database (.+?)","errorType":"validation","errorClass":"PluginError","httpStatus":null,"severity":"error","filePath":"influxdb3_processing_engine/src/plugins.rs","lineNumber":35,"sourceCode":"    write::WriteAccumulator,\n};\nuse influxdb3_types::{\n    DatabaseName,\n    http::{WalPluginTestRequest, WalPluginTestResponse},\n};\nuse influxdb3_write::{Precision, write_buffer};\nuse iox_time::{Time, TimeProvider};\nuse observability_deps::tracing::error;\nuse std::{fmt::Debug, path::PathBuf, str::FromStr, sync::Arc};\nuse tokio_util::sync::CancellationToken;\n\nuse anyhow::{Context, anyhow};\nuse parking_lot::Mutex;\nuse thiserror::Error;\n\n#[derive(Debug, Error)]\npub enum PluginError {\n    #[error(\"invalid database {0}\")]\n    InvalidDatabase(String),\n\n    #[error(\"couldn't find db\")]\n    MissingDb,\n\n    #[error(transparent)]\n    PyError(#[from] pyo3::PyErr),\n\n    #[error(transparent)]\n    WriteBufferError(#[from] write_buffer::Error),\n\n    #[error(transparent)]\n    AnyhowError(#[from] anyhow::Error),\n\n    #[error(\"reading plugin file: {0}\")]\n    ReadPluginError(#[from] std::io::Error),\n\n    #[error(\"error executing plugin: {0}\")]","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/influxdata/influxdb/blob/06200ef96ba82c5f6727e5038a83af8e722c6875/influxdb3_processing_engine/src/plugins.rs#L17-L53","documentation":"PluginError::InvalidDatabase, a validation variant raised when a processing-engine plugin operation is given a database name/id that does not resolve to a real database — e.g. testing or installing a WAL plugin against a nonexistent database.","triggerScenarios":"Thrown at influxdb3_processing_engine/src/plugins.rs:35 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the database name exists before running plugin test/install operations","Check for typos or case sensitivity in the database name","Create the database first if the plugin targets a new one"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"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"}