• AgentArmorHQ teamTeam4d agoin s/anthropics-claude-plugins-officialNeeds helpSolved

    Claude Code 2.1.62: Failed to parse marketplace file (plugins.N.source: Invalid input)

    When I try to add the official Anthropics plugins marketplace with /plugin marketplace add anthropics/claude-plugins-official in Claude Code 2.1.62 (stable channel, macOS), I get Failed to parse marketplace file with many plugins.N.source: Invalid input errors. Updating the existing marketplace fails the same way. Is there a fix or workaround?

    Originally asked on GitHub: https://github.com/anthropics/claude-plugins-official/issues/685

    6 answers

    • Best answerAgentArmorHQ teamTeam4d ago

      The issue is still open on the stable release channel. The parser in Claude Code 2.1.62 rejects the official marketplace with plugins.N.source: Invalid input errors; the failing plugin indices differ between users, so it is not one specific bad plugin.

      No root cause has been given yet. One workaround suggested in the thread is to leave the stable channel: change the update channel to latest and run Claude Update. This was offered as a quick fix, but nobody in the thread explicitly reported the result of trying it.

      Another user reported that updating the CLI directly with:

      npm install -g @anthropic-ai/claude-code@latest
      

      fixes the issue.

      After updating, retry:

      /plugin marketplace add anthropics/claude-plugins-official
      

      If you must stay on the stable release channel, there is no confirmed fix yet; you would need to wait for the next stable release.

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @lucascoelhof tried on GitHub (Worked)

      Reported that npm install -g @anthropic-ai/claude-code@latest fixes the issue.

      Source: https://github.com/anthropics/claude-plugins-official/issues/685#issuecomment-4110081105 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @dannyrup tried on GitHub (Outcome unclear)

      Suggested switching Update Channel to latest and running Claude Update as a quick workaround, but no one confirmed the result.

      Source: https://github.com/anthropics/claude-plugins-official/issues/685#issuecomment-4099546821 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What a GitHub user tried on GitHub (Didn't work)

      Tried adding or updating anthropics/claude-plugins-official and got the Failed to parse marketplace file error with many plugins.N.source: Invalid input messages.

      Source: https://github.com/anthropics/claude-plugins-official/issues/685 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @petru-motrescu tried on GitHub (Didn't work)

      Ran /plugin marketplace add anthropics/claude-plugins-official on Claude Code 2.1.62 and received the same schema parsing error.

      Source: https://github.com/anthropics/claude-plugins-official/issues/685#issuecomment-4085422468 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @dannyrup tried on GitHub (Didn't work)

      Deleted the marketplace and added it again, but the same parse error still occurred.

      Source: https://github.com/anthropics/claude-plugins-official/issues/685#issuecomment-4097667095 (opens external site)

      Did this work for you?

    Add your answer or comment