{"record":{"id":"142f6e070c77f5c6","repo":"FuelLabs/fuel-core","slug":"failed-to-get-transaction-status-142f6e","errorCode":null,"errorMessage":"Failed to get transaction status","messagePattern":"Failed to get transaction status","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/fuel-core/src/schema/tx.rs","lineNumber":827,"sourceCode":"    }\n\n    let subscription = tx_status_manager.tx_update_subscribe(tx_id).await?;\n\n    txpool.insert(tx).await?;\n\n    Ok(subscription\n        .filter_map(move |status| {\n            match status {\n                TxStatusMessage::Status(status) => {\n                    let status = TransactionStatus::new(tx_id, status);\n                    if !include_preconfirmation && status.is_preconfirmation() {\n                        None\n                    } else {\n                        Some(Ok(status))\n                    }\n                }\n                // Map a failed status to an error for the api.\n                TxStatusMessage::FailedStatus => Some(Err(anyhow::anyhow!(\n                    \"Failed to get transaction status\"\n                )\n                .into())),\n            }\n        })\n        .take(3))\n}\n\nstruct StatusChangeState<'a> {\n    query: Cow<'a, ReadView>,\n    tx_status_manager: &'a DynTxStatusManager,\n}\n\nimpl TxnStatusChangeState for StatusChangeState<'_> {\n    async fn get_tx_status(\n        &self,\n        id: Bytes32,\n        include_preconfirmation: bool,","sourceCodeStart":809,"sourceCodeEnd":845,"githubUrl":"https://github.com/FuelLabs/fuel-core/blob/b9d4d170da3a31c9ace5f963d633b326348e0d42/crates/fuel-core/src/schema/tx.rs#L809-L845","documentation":"Error \"Failed to get transaction status\" thrown in FuelLabs/fuel-core.","triggerScenarios":"Thrown at crates/fuel-core/src/schema/tx.rs:827 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b9d4d170da3a31c9ace5f963d633b326348e0d42","analyzedAt":"2026-08-16T08:56:42.692Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}