[Bug] Anthropic API Error: Permission Denied (403) on Login

Resolved 💬 7 comments Opened Apr 21, 2026 by niefufeng Closed May 27, 2026

Bug Description
Please run /login · API Error: 403 {"type":"error","error":{"type":"permission_error","message":"Permission denied"},"request_id":"req_011CaH53rCYtDAVnwhLQvkuc"}

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.116
  • Feedback ID: db061787-bd29-417e-8297-bafc60eb8c92

Errors

[{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Kfq (/$bunfs/root/src/entrypoints/cli.js:253:283309)\n    at async wUq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async sI6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async _7_ (/$bunfs/root/src/entrypoints/cli.js:2728:2136)\n    at async GMH (/$bunfs/root/src/entrypoints/cli.js:2753:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2777:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:13:51.058Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4QYfa4v3jXKVw9mj25\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54148)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:17:18.074Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4djvMbzpcP2Pxnm5pD\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:20:18.563Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4dhtpCu262be6qCENC\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:20:22.792Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4eqF7DbeSdeXukLnkv\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54148)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:20:31.660Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:676:946)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:20:47.627Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at T (/$bunfs/root/src/entrypoints/cli.js:679:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:679:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:676:1017)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:20:47.632Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4hNwAESwhBJMpTYFp3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54148)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:21:07.154Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4rnP42adrK5Dfs2Fq2\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54148)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:23:14.126Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Permission denied\"},\"request_id\":\"req_011CaH4uKyeEUDedq6DsDrnV\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54148)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T14:23:48.555Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\…

Note: Content was truncated.

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗