Skip to content

bug: Error with parse-prd with claude code #1161

@iparker

Description

@iparker

Description

I am currently unable to process/read PRD files and am getting the following error:

Generating 10 tasks...
⠋ Parsing PRD and generating tasks...
⠋ Parsing PRD and generating tasks...
[ERROR] Claude Code object generation failed: Claude Code process exited with code 1 {"error":{"name":"AI_APICallError","url":"claude-code-cli://command","requestBodyValues":{"prompt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "},"isRetryable":false,"data":{"promptExcerpt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "}}}
[WARN] Attempt 1 failed for role main (generateObject / claude-code): Claude Code API error during object generation: Claude Code process exited with code 1
[ERROR] Something went wrong on the provider side. Max retries reached for role main (generateObject / claude-code).
⠹ Parsing PRD and generating tasks...
[ERROR] Claude Code object generation failed: Claude Code process exited with code 1 {"error":{"name":"AI_APICallError","url":"claude-code-cli://command","requestBodyValues":{"prompt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "},"isRetryable":false,"data":{"promptExcerpt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "}}}
[WARN] Attempt 1 failed for role fallback (generateObject / claude-code): Claude Code API error during object generation: Claude Code process exited with code 1
[ERROR] Something went wrong on the provider side. Max retries reached for role fallback (generateObject / claude-code).
⠼ Parsing PRD and generating tasks...
[ERROR] Claude Code object generation failed: Claude Code process exited with code 1 {"error":{"name":"AI_APICallError","url":"claude-code-cli://command","requestBodyValues":{"prompt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "},"isRetryable":false,"data":{"promptExcerpt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "}}}
[WARN] Attempt 1 failed for role research (generateObject / claude-code): Claude Code API error during object generation: Claude Code process exited with code 1
[ERROR] Something went wrong on the provider side. Max retries reached for role research (generateObject / claude-code).
[ERROR] Service call failed for role research (Provider: claude-code, Model: sonnet): Claude Code API error during object generation: Claude Code process exited with code 1
✖ Error parsing PRD: Claude Code API error during object generation: Claude Code process exited with code 1
[ERROR] Error parsing PRD: Claude Code API error during object generation: Claude Code process exited with code 1
Error: Claude Code API error during object generation: Claude Code process exited with code 1
Error parsing PRD: Claude Code API error during object generation: Claude Code process exited with code 1

I think this still worked with the previous version 0.25 of Task Master.

Environment

  • Task Master version: 0.25.1
  • Node.js version: v22.18.0
  • Operating system: Linux Mint 21.2
  • Claude Version: 1.0.66 (Claude Code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai-modelsAI model integration and configurationarea:task-managementCore task management featuresbugSomething isn't workinghigh-priorityUrgent issue requiring immediate attentionprovider:claude-codeClaude Code integrated models

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions