[BUG] Marketplaces tab fails to add marketplace — externalHttp/firstPartyApi routing error
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Adding a marketplace URL in the "Manage Plugins > Marketplaces" tab fails with the following error:
Claude CLI exited with code 1: × Failed to add marketplace: Failed to download
marketplace from https://marketplace.anthropic.com: externalHttp:
https://marketplace.anthropic.com is Anthropic-operated. Use firstPartyApi from
src/services/http/firstParty — it enforces the 3P data-residency gate.
Environment
OS: Windows 11
Claude Code version:
What Should Happen?
Expected behavior
The marketplace is added and plugins are discoverable.
Error Messages/Logs
Actual behavior
CLI exits with code 1. The app's own marketplace URL is being fetched via externalHttp instead of firstPartyApi, triggering an internal routing assertion.
Steps to Reproduce
Steps to reproduce
Open Claude Code desktop app
Go to Manage Plugins → Marketplaces tab
Enter https://marketplace.anthropic.com in the input field
Click Add
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude 1.9659.4 (8cc655)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗