WebFetch returns 401 error for publicly accessible docs.claude.com URLs
Resolved 💬 4 comments Opened Oct 20, 2025 by mpiroc Closed Oct 20, 2025
Summary
The WebFetch tool returns a 401 authentication error when attempting to access publicly available Anthropic documentation at docs.claude.com, despite these URLs being accessible without authentication in a regular browser.
Expected Behavior
WebFetch should successfully fetch content from public Anthropic documentation URLs like:
https://docs.claude.com/en/docs/agents-and-tools/agent-skills/best-practices.md
Actual Behavior
WebFetch returns:
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_..."}
Steps to Reproduce
- Attempt to fetch any docs.claude.com URL using WebFetch tool
- Example:
WebFetch(url="https://docs.claude.com/en/docs/agents-and-tools/agent-skills/best-practices.md") - Observe 401 authentication error
Verification
The same URLs are publicly accessible:
- Can be viewed in an incognito browser window without authentication
- No login required to access docs.claude.com
Impact
- Claude cannot programmatically reference Anthropic's own documentation when helping users
- Users must manually paste documentation content instead of Claude fetching it directly
- Reduces Claude's ability to provide up-to-date guidance from official docs
Environment
- Tool: WebFetch
- Target domain: docs.claude.com
- Error type: 401 authentication_error
- Error message: "OAuth authentication is currently not supported"
Suggested Fix
WebFetch should be able to access public documentation without authentication requirements, similar to how it handles other publicly accessible websites.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗