{"record":{"id":"012758b44c00026c","repo":"langflow-ai/langflow","slug":"one-or-more-flow-version-ids-are-not-checkpoints-o","errorCode":null,"errorMessage":"One or more flow version ids are not checkpoints of flows in the selected project.","messagePattern":"One or more flow version ids are not checkpoints of flows in the selected project\\.","errorType":"http","errorClass":"HTTPException","httpStatus":404,"severity":"error","filePath":"src/backend/base/langflow/api/v1/mappers/deployments/helpers.py","lineNumber":243,"sourceCode":"            and_(\n                FlowVersion.user_id == user_id,\n                FlowVersion.id == indexed_flow_version_ids_cte.c.flow_version_id,\n            ),\n        )\n        .join(\n            Flow,\n            and_(\n                Flow.id == FlowVersion.flow_id,\n                Flow.user_id == user_id,\n                Flow.folder_id == project_id,\n            ),\n        )\n        .order_by(indexed_flow_version_ids_cte.c.position)\n    )\n    rows = list((await db.exec(statement)).all())\n    if len(rows) < len(flow_version_ids):\n        msg = \"One or more flow version ids are not checkpoints of flows in the selected project.\"\n        raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=msg)\n\n    artifacts: list[tuple[UUID, BaseFlowArtifact]] = []\n    for row in rows:\n        if row.flow_version_data is None:\n            msg = f\"Flow version {row.flow_version_id} has no data (snapshot may be corrupted).\"\n            raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, detail=msg)\n        artifacts.append(\n            (\n                row.flow_version_id,\n                BaseFlowArtifact(\n                    id=row.flow_id,\n                    name=row.flow_name,\n                    description=row.flow_description,\n                    data=row.flow_version_data,\n                    tags=row.flow_tags,\n                ),\n            )\n        )","sourceCodeStart":225,"sourceCodeEnd":261,"githubUrl":"https://github.com/langflow-ai/langflow/blob/976ec789d2886a86de109c044d089d68e96c9a35/src/backend/base/langflow/api/v1/mappers/deployments/helpers.py#L225-L261","documentation":"Error \"One or more flow version ids are not checkpoints of flows in the selected project.\" thrown in langflow-ai/langflow.","triggerScenarios":"Occurs when referenced flow version ids are not checkpoints of flows within the deployment's selected project.","commonSituations":"See trigger scenarios.","solutions":["Select checkpoints of flows that are in the selected project, or move the flows into the project first."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"976ec789d2886a86de109c044d089d68e96c9a35","analyzedAt":"2026-08-14T18:23:12.227Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}