claude-code - 💡(How to fix) Fix [BUG] Prompt submission yields no response in UI, but consumes usage limit/tokens [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52599Fetched 2026-04-24 06:02:49
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1

Error Message

When using Claude Code on the Web, submitting a prompt occasionally results in no response or UI update. The chat interface remains completely unresponsive (no text generation, no error message). However, the backend seems to process the request because my usage quota (tokens/message limit) is consumed. The chat UI should stream the response normally. If there is a server error or connection loss, the UI should display an error message and not consume the user's message quota.

Error Messages/Logs

Root Cause

When using Claude Code on the Web, submitting a prompt occasionally results in no response or UI update. The chat interface remains completely unresponsive (no text generation, no error message). However, the backend seems to process the request because my usage quota (tokens/message limit) is consumed.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using Claude Code on the Web, submitting a prompt occasionally results in no response or UI update. The chat interface remains completely unresponsive (no text generation, no error message). However, the backend seems to process the request because my usage quota (tokens/message limit) is consumed.

What Should Happen?

The chat UI should stream the response normally. If there is a server error or connection loss, the UI should display an error message and not consume the user's message quota.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code on the Web
  2. Type a prompt in the input field
  3. Press Enter / click the submit button.
  4. The UI shows no response or gets stuck.
  5. Check the account usage limit, and notice that the message quota has decreased.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude Code on the Web

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

Investigate the Anthropic API and Claude Code on the Web integration for potential issues with response handling or error messaging.

Guidance

  • Verify that the backend is correctly sending responses to the frontend by checking the network requests and responses in the browser's developer tools.
  • Check the Anthropic API documentation to ensure that the response format is correctly handled by Claude Code on the Web.
  • Test the same prompt with a different model or version to see if the issue is specific to the Opus model.
  • Inspect the browser's console for any JavaScript errors that might be preventing the UI from updating.

Notes

The issue seems to be related to the integration between the Anthropic API and Claude Code on the Web, but without more information about the API responses or error logs, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Implement additional error handling and logging in Claude Code on the Web to better understand the issue and provide more informative error messages to the user.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Prompt submission yields no response in UI, but consumes usage limit/tokens [1 comments, 2 participants]