anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Account credit balance validation failing with HTTP 400 despite available credits

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

Mô tả

**Bug Description**
Evidence to paste into the ticket:
- Organization: 6f8c1247-b44f-478b-b12b-ad61437594f0
- Workspace: Default (wrkspc_01VQLazKdXNeiKgtrAY1JMbo)
- Request IDs: req_011CedHsyqsa1f4oN2FoZQmP, req_011CedHhj1NAdfQJUkn112MY
- Symptom: Console shows a $100 credit balance; every API call returns HTTP 400 invalid_request_error — "Your credit balance is too low." A newly minted Default-workspace key reproduces it, and even the no-cost count_tokens endpoint returns the same error, which points at an account-level block rather than balance arithmetic.

**Environment Info**
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.252
- Feedback ID: b6b845c6-b70b-46d2-abe3-b0504136e62b

**Errors**
```json
[]
```

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

Start by reviewing the supplied request IDs, organization and workspace identifiers, console balance, and the no-cost count_tokens reproduction. The issue provides no repository file or test to inspect; done would require confirming the account-level cause and documenting a resolution or actionable repository change.

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

Đánh giá

Lĩnh vực
api
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
15/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.