remote-control: Session creation fails with 400 "Extra inputs are not permitted"

Resolved 💬 2 comments Opened Apr 2, 2026 by sitdong12 Closed May 24, 2026

Environment

  • Claude Code version: 2.1.81
  • OS: macOS (Darwin 25.3.0)
  • Plan: Pro
  • Shell: zsh

Description

claude remote-control registers the bridge successfully (HTTP 200), but the initial session creation fails with:

[bridge] Session creation failed with status 400: source: Extra inputs are not permitted

The environment appears "Ready" locally, but is not visible from the Claude mobile app or claude.ai/code ("session not found").

Steps to Reproduce

  1. Run claude remote-control --debug-file /tmp/remote-debug.log
  2. Bridge registers successfully (200)
  3. Session creation immediately fails with 400
  4. Open Claude mobile app or claude.ai/code → environment not listed

What I've Tried

  • [x] brew upgrade claude-code (already latest)
  • [x] Removed all permissions from project settings.local.json — same error
  • [x] Used empty {} settings — same error
  • [x] --no-create-session-in-dir — 400 error gone, but mobile app still can't find the environment
  • [x] Verified Pro plan subscription is active
  • [x] Killed all existing remote-control processes before retrying
  • [x] Restarted Claude Code multiple times

Debug Log (key lines)

[bridge:api] POST /v1/environments/bridge -> 200 environment_id=env_xxx
[bridge:api] >>> {"machine_name":"...","directory":"...","branch":"main","git_repo_url":"...","max_sessions":32,"metadata":{"worker_type":"claude_code"}}
[bridge:api] <<< {"environment_id":"env_xxx","organization_uuid":"...","environment_secret":"sk-ant-o..."}
[bridge:init] Registered, server environmentId=env_xxx
[bridge] Session creation failed with status 400: source: Extra inputs are not permitted

Expected Behavior

Environment should be registered and visible from Claude mobile app / claude.ai/code, allowing remote session creation.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗