anthropics / anthropics/claude-code

[BUG]

Ouverte
#91,288 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
api:anthropic area:cost bug platform:windows
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

### 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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
powershell
Domaine
api, backend
Type d'issue
Bug
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Active
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.