anthropics / anthropics/claude-code

[BUG]

Offen
#91,288 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api:anthropic area:cost bug platform:windows
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

I added credit but when I try to use the api from an script with a fresh api I get ""type":"error","error":{"type":"invalid_request_error","message":"Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits."},"request_id":"req_011CedBes32gY2EDg4D6Hy5Y"}"
, this not look good, please help

### What Should Happen?

error disappears and I could use claude api

### Error Messages/Logs

```shell

```

### Steps to Reproduce

I added credit but when I try to use the api from an script with a fresh api I get ""type":"error","error":{"type":"invalid_request_error","message":"Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits."},"request_id":"req_011CedBes32gY2EDg4D6Hy5Y"}"

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

2.1.201

### Platform

Anthropic API

### Operating System

Windows

### Terminal/Shell

PowerShell

### Additional Information

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

No source file, test, or implementation entry point is identified. First reproduce the request from Windows PowerShell with Claude Code 2.1.201 and the Anthropic API after credit is added, recording the response and request ID. Done means the cause is isolated and either the API request succeeds or the missing billing/account evidence is documented.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.