anthropics / anthropics/claude-code

[BUG]

Abierto
#91,288 0 comentarios 0 reacciones 0 asignados Ver en GitHub
api:anthropic area:cost bug platform:windows
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
powershell
Área
api, backend
Tipo de issue
Error
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Activo
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.