"/init" always returned "API Error: 403"
Resolved 💬 3 comments Opened Aug 16, 2025 by fanyadan Closed Aug 19, 2025
Bug Description
No matter which model selected, doing "/init" always returned 'API Error: 403 {"error":{"type":"forbidden","message":"Request not allowed"}}'
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 1.0.83
- Feedback ID:
Errors
[{"error":"Error: 403 {\"error\":{\"type\":\"forbidden\",\"message\":\"Request not allowed\"}}\n at D6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:942:2484)\n at sP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:2101)\n at sP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-16T06:20:10.967Z"},{"error":"Error: 403 {\"error\":{\"type\":\"forbidden\",\"message\":\"Request not allowed\"}}\n at D6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:942:2484)\n at sP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:2101)\n at sP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-16T06:20:11.015Z"},{"error":"Error: 403 {\"error\":{\"type\":\"forbidden\",\"message\":\"Request not allowed\"}}\n at D6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:942:2484)\n at sP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:2101)\n at sP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async KSB.sG1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:24578)\n at async sG1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:13705)\n at async KSB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:24429)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:19524\n at async cN0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:5164)\n at async V01 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:19494)","timestamp":"2025-08-16T06:20:13.448Z"},{"error":"Error: 403 {\"error\":{\"type\":\"forbidden\",\"message\":\"Request not allowed\"}}\n at D6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:942:2484)\n at sP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:2101)\n at sP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:959:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async KSB.sG1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:24578)\n at async sG1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:13705)\n at async KSB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:24429)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:19524\n at async cN0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:5164)\n at async V01 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:19494)","timestamp":"2025-08-16T06:21:45.943Z"},{"error":"AxiosError: Request failed with status code 403\n at XN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:692:1077)\n at Unzip.V0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:693:9955)\n at Unzip.emit (node:events:519:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at sB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:695:2088)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async ZE8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2402:470)\n at async Promise.all (index 0)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2388:19497","timestamp":"2025-08-16T06:23:03.700Z"},{"error":"Error: 403 {\"error\":{\"type\":\"forbidden\",\"message\":\"Request not allowed\"}}\n at D6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:942:2484)\n at sP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗