claude-code - 💡(How to fix) Fix [BUG] Claude Code v2.0.29 throws Error 400 on Max Plan [2 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#45028Fetched 2026-04-09 08:14:59
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2closed ×1

Error Message

PI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Third-party apps now draw from your extra usage, not your plan limits.

Code Example

PI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Third-party apps now draw from your extra usage, not your plan limits.
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?

Trying to access claude code on Mac: Claude Code v2.0.29 Sonnet 4.5 · Claude Max plan throws error 400: I have tried 'Claude -r', tried to npm install again. Logout and login but logout isn't working either. It throws the same error 400.

What Should Happen?

Using 'claude' cmd on termianl should open Claude and be able to converse.

Error Messages/Logs

PI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Third-party apps now draw from your extra usage, not your plan limits.

Steps to Reproduce

In terminal type 'Claude'. type any text, it will throw error 400

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.29

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The error 400 is likely due to changes in how third-party apps interact with the Claude API, and a workaround or update to the API usage may be necessary.

Guidance

  • Review the error message, which suggests that third-party apps now draw from extra usage rather than plan limits, indicating a potential issue with the current API usage or configuration.
  • Check the Anthropics API documentation for any updates or changes to how third-party apps should interact with the API, especially regarding usage limits and billing.
  • Consider reaching out to the Anthropics support team for clarification on the error message and how to properly configure the Claude Code to work with the updated API rules.
  • If possible, try to verify if the issue persists when using a different model or configuration to isolate the problem.

Example

No specific code example can be provided without more details on the API interaction, but reviewing the API documentation and updating the code to align with the new usage rules may be necessary.

Notes

The exact solution may depend on the specifics of the Anthropics API and how the Claude Code interacts with it, which are not fully detailed in the issue report. The provided error message suggests a change in API behavior that needs to be addressed.

Recommendation

Apply workaround: The reason is that the error message indicates a change in how the API handles third-party app usage, suggesting that a workaround or update to the current configuration or API interaction may be necessary to resolve the issue.

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