{"record":{"id":"0566ed725a301f78","repo":"FoundationAgents/OpenManus","slug":"invalid-step-status-step-status-valid-statuses","errorCode":null,"errorMessage":"Invalid step_status: {step_status}. Valid statuses are: not_started, in_progress, completed, blocked","messagePattern":"Invalid step_status: (.+?)\\. Valid statuses are: not_started, in_progress, completed, blocked","errorType":"exception","errorClass":"ToolError","httpStatus":null,"severity":"error","filePath":"app/tool/planning.py","lineNumber":292,"sourceCode":"            raise ToolError(f\"No plan found with ID: {plan_id}\")\n\n        if step_index is None:\n            raise ToolError(\"Parameter `step_index` is required for command: mark_step\")\n\n        plan = self.plans[plan_id]\n\n        if step_index < 0 or step_index >= len(plan[\"steps\"]):\n            raise ToolError(\n                f\"Invalid step_index: {step_index}. Valid indices range from 0 to {len(plan['steps'])-1}.\"\n            )\n\n        if step_status and step_status not in [\n            \"not_started\",\n            \"in_progress\",\n            \"completed\",\n            \"blocked\",\n        ]:\n            raise ToolError(\n                f\"Invalid step_status: {step_status}. Valid statuses are: not_started, in_progress, completed, blocked\"\n            )\n\n        if step_status:\n            plan[\"step_statuses\"][step_index] = step_status\n\n        if step_notes:\n            plan[\"step_notes\"][step_index] = step_notes\n\n        return ToolResult(\n            output=f\"Step {step_index} updated in plan '{plan_id}'.\\n\\n{self._format_plan(plan)}\"\n        )\n\n    def _delete_plan(self, plan_id: Optional[str]) -> ToolResult:\n        \"\"\"Delete a plan.\"\"\"\n        if not plan_id:\n            raise ToolError(\"Parameter `plan_id` is required for command: delete\")\n","sourceCodeStart":274,"sourceCodeEnd":310,"githubUrl":"https://github.com/FoundationAgents/OpenManus/blob/52a13f2a57d8c7f6737eefb02ccf569594d44273/app/tool/planning.py#L274-L310","documentation":"Error \"Invalid step_status: {step_status}. Valid statuses are: not_started, in_progress, completed, blocked\" thrown in FoundationAgents/OpenManus.","triggerScenarios":"Raised when `mark_step` is called with a `step_status` value outside the allowed set: not_started, in_progress, completed, blocked.","commonSituations":"See trigger scenarios.","solutions":["Set `step_status` to one of: not_started, in_progress, completed, blocked.","Omit `step_status` entirely if you only want to update step_notes."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"52a13f2a57d8c7f6737eefb02ccf569594d44273","analyzedAt":"2026-08-15T02:33:49.993Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}