claude-code - 💡(How to fix) Fix [Bug] Extra usage credits not accessible despite available balance [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52138Fetched 2026-04-23 07:35:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:11.887Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaJ4h4FG5ej2ygewzig3E"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:37.250Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.498Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.524Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaJHjnYoEh8YstReHYrCz"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:52:43.366Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13351)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:53:03.375Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T07:40:34.241Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaJcKDjt3hS4xwZvk9G7D"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:56:20.278Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:58:16.934Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T10:09:21.991Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)…

Code Example

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:11.887Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJ4h4FG5ej2ygewzig3E\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:37.250Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.498Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.524Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJHjnYoEh8YstReHYrCz\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:52:43.366Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13351)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:53:03.375Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T07:40:34.241Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJcKDjt3hS4xwZvk9G7D\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:56:20.278Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:58:16.934Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T10:09:21.991Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)
RAW_BUFFERClick to expand / collapse

Bug Description I can't access my extra usage even though I had $34 of usage. I had to spend $5 to try and unlock it thinking it might have reset the limit? About to test

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.117
  • Feedback ID: e5b92309-5079-43e0-b025-b56585e9d8e0

Errors

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:11.887Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJ4h4FG5ej2ygewzig3E\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:01:37.250Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.498Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at xi1 (/$bunfs/root/src/entrypoints/cli.js:2752:5520)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T03:59:21.524Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJHjnYoEh8YstReHYrCz\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:52:43.366Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13351)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T05:53:03.375Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T07:40:34.241Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaJcKDjt3hS4xwZvk9G7D\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:56:20.278Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:58:16.934Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T10:09:21.991Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)…

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to rate limiting and keychain entry deletion errors, and waiting or retrying the request later might help resolve the issue.

Guidance

  • The repeated "rate_limit_error" messages suggest that the account has exceeded its request limit, so waiting for some time before retrying the request might help.
  • The "Failed to delete keychain entry" errors could be related to a specific issue with the keychain or the application's handling of it, and checking the application's documentation or support resources for troubleshooting keychain-related issues might be helpful.
  • The "ECONNREFUSED" and "timeout" errors might indicate a temporary network issue or a problem with the server, and retrying the request later or checking the server status could help.
  • Reviewing the application's logs or documentation for any specific guidance on handling rate limiting or keychain errors might provide more insight into the issue.

Notes

The provided information is incomplete due to truncation, which limits the ability to provide a more detailed analysis or solution. Additionally, the errors seem to be related to various aspects of the application, including rate limiting, keychain management, and network connectivity, making it challenging to pinpoint a single cause or solution without more context.

Recommendation

Apply workaround: Given the rate limiting errors, a reasonable workaround could be to wait for some time before retrying the request, as the error messages suggest that the account has temporarily exceeded its request limit.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING