[BUG] Error: Request failed with status code 308
Resolved 💬 3 comments Opened May 8, 2025 by pixelcort Closed Jan 3, 2026
Environment
- Claude CLI version: 0.2.104 (Claude Code)
- Operating System: macOS 15.4.1 (24E263)
- Terminal: Terminal.app
Bug Description
It seems Claude Code is unable to handle 308 redirects, for example on https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview .
Steps to Reproduce
- mkdir /tmp/test && cd /tmp/test && claude
- Prompt: What tools are available to you inside Claude Code?
- Claude attempts to Fetch(https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview)
Expected Behavior
I expect Claude Code to support the 308 to https://docs.anthropic.com/en/docs/claude-code/overview
Actual Behavior
Error: Request failed with status code 308
Additional Context
Screenshot attached.
<img width="1625" alt="Image" src="https://github.com/user-attachments/assets/d3ad9cfc-53ed-4c86-84b5-fcfc4e21af13" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗