Skip to content

JANUARY 20th: Claude Code Web/Mobile: "Repository or branches not found" — persistent 404 on git_proxy endpoint #22277

@ChrispyKreme86

Description

@ChrispyKreme86

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude Code Web (claude.ai/code) and iOS app consistently fail with "An error occurred while executing Claude Code" on every session. This has been happening for 11 days straight.

The browser console shows:

  • 404 errors on /v1/session_ingress/…/git_proxy/compare endpoint
  • [REACT_QUERY_CLIENT] QueryClient error: Repository or branches not found — repeated 19+ times on page load alone
  • These errors appear immediately on page load before any user interaction

Key details:

  • CLI (claude command) works perfectly — account, permissions, and API access are all fine
  • Issue is isolated to web and mobile container/git proxy infrastructure
  • Affects: Claude Code Web (claude.ai/code), iOS app, mobile Safari
  • Tested across: Chrome, Safari, iPhone (iOS app + mobile browser)
  • Troubleshooting attempted: cleared cache/cookies, new sessions, different browsers/devices, disconnected & reconnected GitHub, uninstalled & reinstalled GitHub app via claude.ai/code, removed API environment variables, logged out and back in
  • Subscription: Max5
  • Support ticket has been open for 11 days with no resolution

What Should Happen?

Claude Code Web sessions should load and execute normally, just as they do via the CLI. The git_proxy endpoint should successfully resolve repositories and branches.

Error Messages/Logs

// Console errors on page load (repeated 19+ times):
[REACT_QUERY_CLIENT] QueryClient error: a: Repository or branches not found
    at i (https://claude.ai/_next/static/chunks/64328-4c5e11db1e609c9b.js:1:16387)
    at queryFn (https://claude.ai/_next/static/chunks/17421-dd74836abff36950.js:1:22236)

// Network tab shows:
404 on /v1/session_ingress/.../git_proxy/compare

// UI error:
"An error occurred while executing Claude Code. You can try again by sending a new message or starting a new session."

Steps to Reproduce

  1. Log into claude.ai with a Max5 subscription account (with GitHub connector enabled)
  2. Navigate to claude.ai/code
  3. Start a new Claude Code session
  4. Send any message/request
  5. Session immediately fails with "An error occurred while executing Claude Code"
  6. Open browser developer console (Cmd + Option + J) to see 19+ "Repository or branches not found" errors and 404s on the git_proxy endpoint
  7. This happens 100% of the time across all browsers, devices, and new sessions
  8. CLI (claude command in terminal) works fine with the same account

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Latest (issue is on web/mobile, not CLI)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This issue has been reported to Anthropic support for 11 days (since Jan 20) with no resolution. Support ticket is open but standard troubleshooting (clear cache, remove API env vars, reinstall GitHub app, etc.) has not helped because the issue is server-side.

The errors occur on Anthropic's git proxy infrastructure — the /v1/session_ingress/.../git_proxy/compare endpoint returns 404, causing the React Query client to throw "Repository or branches not found" errors repeatedly. This happens before any user interaction, immediately on page load.

CLI access works perfectly, confirming the issue is specific to the web/mobile container execution environment and not account permissions or API access.

Metadata

Metadata

Assignees

Labels

area:apiarea:claude-code-webClaude Code on the web. claude.com/codebugSomething isn't workingexternalhas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions