claude-task-master
claude-task-master copied to clipboard
bug: Failed to parse PRD
Description
Fails to parse PRD
Steps to Reproduce
PRD exists in /specs/design/prd.md initialise taskmaster and ask to parse
Expected Behavior
PRD is parsed and tasks created
Actual Behavior
Error Error executing MCP tool: MCP error -32001: Request timed out
PRD can only be in root or in scripts/prd.txt
Its a small case prd.txt not PRD.txt
Even with the prd in the scripts directory this is giving the same error... Prd is 87 lines and 1250 tokens.
We've had issues with Roo and other tools timing out because they don't have the same rules as Cursor for example.
Re-opening, going to try to do this for 0.15, not 0.14
I've been trying to parse my prd for a couple days now. I originally tried with anthropic only via CLI. It kept failing after multiple attempts, I believe it said something about the schema of the response not being correct. On anthropic logs it says that it was a client failure code: 499. I tried MCP multiple times and received the MCP timeout error as stated in this bug. After burning $12 in credits I put some money on Perplexity and tried with that, but it also failed. "Error: Failed to generate object with Perplexity: Failed after 4 attempts. Last error: Cannot connect to API: other side closed. Structured output might not be fully supported."
I believe these are related to this bug, but if not, let me know and I'll open my own ticket. For CLI I uninstalled and reinstalled the latest version 0.13.2. Might be worth noting that I used task-master weeks ago with no issues. I only had issues currently after doing an update. Also using cursor.
I've been trying to parse my prd for a couple days now. I originally tried with anthropic only via CLI. It kept failing after multiple attempts, I believe it said something about the schema of the response not being correct. On anthropic logs it says that it was a client failure code: 499. I tried MCP multiple times and received the MCP timeout error as stated in this bug. After burning $12 in credits I put some money on Perplexity and tried with that, but it also failed. "Error: Failed to generate object with Perplexity: Failed after 4 attempts. Last error: Cannot connect to API: other side closed. Structured output might not be fully supported."
I believe these are related to this bug, but if not, let me know and I'll open my own ticket. For CLI I uninstalled and reinstalled the latest version 0.13.2. Might be worth noting that I used task-master weeks ago with no issues. I only had issues currently after doing an update. Also using cursor.
Apologies for that, what are you using for a code editor ?
I'm using Cursor on the latest version. I've also noticed that anthropic responses are running slower than normal, not sure if that would have any relation to this issue. Let me know if there is anything I can do to help test or try fixes.
I was having similar problems after upgrading to 0.16 (I had skipped 0.15). Using Sonnet 4 as main TM model with Gemini-2.5-Pro in Cursor. I ran into issues with Task Master parsing the PRD and a recurring issue flagged by the AI was projectRoot argument not working right. My PRD was located in ./scripts/prd.txt, not the project root. I noted in the chat the specific location and asked it to try again and it worked for me.
Is this still happening?
Yes, also in roocode on the 0.16.2
@eyaltoledano this is a timeout issue, since we don't use reportProgress, other AI editors other than cursor actually have a small timeout limit, which is getting hit when parsing PRD.
My idea was to bring back the async operation manager just for long running operations like these ones, or using reportProgress
Is this still happening?
Yep, still occurring
@joedanz I think your PR #730 will probably resolve this issue, will have to close this issue once the progress PR is released
Alright, we added streaming, but it tends to break with multiple providers, the best solution here is to increase the timeout in the mcp server: "timeout": 300000