{"record":{"id":"22d30c7d57794f82","repo":"warpdotdev/warp","slug":"saved-prompt-with-id-id-not-found","errorCode":null,"errorMessage":"Saved prompt with ID '{id}' not found","messagePattern":"Saved prompt with ID '(.+?)' not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/src/ai/agent_sdk/ambient.rs","lineNumber":301,"sourceCode":"                    };\n\n                    let cloud_model = CloudModel::handle(ctx);\n                    let workflow = cloud_model.as_ref(ctx).get_workflow(&sync_id);\n\n                    match workflow {\n                        Some(cloud_workflow) => match cloud_workflow.model().data.prompt() {\n                            Some(prompt_text) => Some(prompt_text.to_string()),\n                            None => {\n                                super::report_fatal_error(\n                                    anyhow::anyhow!(\"'{id}' is not a saved prompt\"),\n                                    ctx,\n                                );\n                                return;\n                            }\n                        },\n                        None => {\n                            super::report_fatal_error(\n                                anyhow::anyhow!(\"Saved prompt with ID '{id}' not found\"),\n                                ctx,\n                            );\n                            return;\n                        }\n                    }\n                }\n                None => None,\n            };\n\n            let loaded_file = match args.config_file.file.as_deref() {\n                Some(path) => match super::config_file::load_config_file(path) {\n                    Ok(file) => Some(file),\n                    Err(err) => {\n                        super::report_fatal_error(err, ctx);\n                        return;\n                    }\n                },\n                None => None,","sourceCodeStart":283,"sourceCodeEnd":319,"githubUrl":"https://github.com/warpdotdev/warp/blob/e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc/app/src/ai/agent_sdk/ambient.rs#L283-L319","documentation":"The ID parsed to a valid SyncId, but CloudModel::get_workflow returned None (app/src/ai/agent_sdk/ambient.rs:297-304): no synced object with that ID exists in the local CloudModel. Typically a typo, a deleted prompt, or a prompt whose workflow has not yet synced to this client.","triggerScenarios":"Referencing a recently created saved prompt before its workflow syncs down via the Drive refresh; a deleted prompt; an ID from another account/workspace.","commonSituations":"Create-then-immediately-run flows losing the race with sync; IDs copied from a different environment; drive sync lagging or disabled.","solutions":["Re-run after ensuring Warp Drive sync completes (the command refreshes drive metadata as part of setup — retry once)","Re-copy the ID from the current saved-prompts listing","Confirm the prompt still exists and belongs to the authenticated account"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"let sync_id: SyncId = ServerId::try_from(id.as_str())?.into();\nlet cloud_model = CloudModel::handle(ctx);\nif cloud_model.as_ref(ctx).get_workflow(&sync_id).is_none() {\n    // refresh drive sync and re-check before invoking the run command\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["After creating a prompt, wait for Drive sync to deliver its workflow before referencing it","Re-verify IDs against the current prompts listing in long-lived scripts"],"tags":["saved-prompts","not-found","sync","cli"],"backgroundTag":null,"analyzedSha":"e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc","analyzedAt":"2026-08-16T08:27:25.381Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}