[BUG] Timeout when prompted to generate json

Resolved 💬 4 comments Opened Jun 24, 2025 by PramaYudhistira Closed Aug 21, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: local
  • Claude CLI version: 1.0.33
  • Operating System: Ubuntu 22.04
  • Terminal: bash

Bug Description

When it generates a json, I get this error message

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: Timeout waiting after 1000ms
    at nK2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1366:11719)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async lK6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1927:11619)
    at async W (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1927:10473)

Steps to Reproduce

  1. get the agent to generate a jupyter notebook

Expected Behavior

for the json to work properly

Actual Behavior

timeout

Additional Context

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗