{"record":{"id":"e97029fe79cacf76","repo":"dbt-labs/dbt-core","slug":"job-execution-timeout-seconds-must-be-a-valid-inte","errorCode":null,"errorMessage":"job_execution_timeout_seconds must be a valid integer","messagePattern":"job_execution_timeout_seconds must be a valid integer","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-adapter/src/python/bigquery/mod.rs","lineNumber":157,"sourceCode":"        &config\n            .get_attr(\"submission_method\")\n            .ok()\n            .and_then(|v| v.as_str().map(|s| s.to_string()))\n            .unwrap_or_else(|| {\n                adapter\n                    .get_db_config(\"submission_method\")\n                    .map(|v| v.to_string())\n                    .unwrap_or_else(|| \"serverless\".to_string())\n            }),\n    )\n    .ok_or_else(|| AdapterError::new(AdapterErrorKind::Internal, \"Invalid submission method\"))?;\n\n    let job_execution_timeout = adapter\n        .get_db_config(\"job_execution_timeout_seconds\")\n        .map(|v| v.to_string())\n        .map(|v| {\n            v.parse::<i64>()\n                .expect(\"job_execution_timeout_seconds must be a valid integer\")\n        });\n\n    let default_timeout = if submission_method == SubmissionMethod::BigFrames {\n        60 * 60\n    } else {\n        24 * 60 * 60\n    };\n\n    let timeout = config\n        .get_attr(\"timeout\")\n        .ok()\n        .and_then(|v| v.as_i64())\n        .or(job_execution_timeout)\n        .unwrap_or(default_timeout);\n\n    let packages: Vec<String> = config\n        .get_attr(\"packages\")\n        .ok()","sourceCodeStart":139,"sourceCodeEnd":175,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-adapter/src/python/bigquery/mod.rs#L139-L175","documentation":"Config validation in submit_python_job: the `job_execution_timeout_seconds` value from the model/adapter config could not be parsed as an integer, so the BigQuery job timeout cannot be constructed. The at-fault input is that config value as stored in the warehouse config.","triggerScenarios":"Thrown at crates/dbt-adapter/src/python/bigquery/mod.rs:157 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set job_execution_timeout_seconds to an integer (e.g. 300) in the profile or model config","Remove quotes around the value if it was supplied as a string in YAML","Check for accidental float or non-numeric values in the config"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}