Claude Code web fetch error 307

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 10 comments · opened Jun 5, 2025 · closed Jun 5, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

View original on GitHub ↗

10 Comments

PierrunoYT · 1 year ago
PierrunoYT · 1 year ago

!Image

It did not fetched the correct docs. Augment found it directly

mape-k · 1 year ago

Same:
⏺ Web Search("anthropic claude prompt engineering guide 2024 constitutional AI research")
⎿ Did 0 searches in 44s

⏺ Fetch(https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering)
⎿ Error: Request failed with status code 307

Too interesting, Claude code doesn't have access to anthropic website.

mape-k · 1 year ago

I've added additional stacktrace: https://github.com/anthropics/claude-code/issues/1672
@PierrunoYT I'm sorry by duplicate of the bug. I used /bug command in the claude code terminal

dicksontsai collaborator · 1 year ago

Thanks for the report. We have a fix for 307 that will roll out in the next release.

PierrunoYT · 1 year ago
Thanks for the report. We have a fix for 307 that will roll out in the next release.

Okay nice but do you know why it did not find the correct information about the models and api?

dicksontsai collaborator · 1 year ago

Had the fetch succeeded, Claude Code likely would have found the correct information on its own. Looking up model information is not a capability we specifically program into Claude Code.

PierrunoYT · 1 year ago

!Image

there are still issues

dicksontsai collaborator · 1 year ago
  • The error with 307s (this Github issue) should be fixed as of v1.0.15.
  • Web Search has a separate fix rolling out in the next release after v1.0.15.
  • 404s will happen naturally as the agent considers what's available or not.
github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.