anthropics / anthropics/claude-code

[BUG]

Đang mở
#91,288 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api:anthropic area:cost bug platform:windows
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell
Lĩnh vực
api, backend
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.