Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.166 ·

Managed settings validation errors reported to stderr

Entry
JSON All of v2.1.166
EntryKind: in v2.1.166,
ChangesSection of the release

When managed settings contain entries that fail schema validation, Claude now writes descriptive errors to stderr at startup:

  • For invalid entries that are dropped but don't affect enforcement: "Managed settings contain invalid entries (remaining valid policies are still enforced):"
  • For invalid entries that prevent a policy from being enforced at all: "Managed settings failed to load; policies from the failed source are NOT in effect:"

Specific field-level messages include things like "allowedMcpServers" was present but invalid; enforcing an empty allowlist (no MCP servers admitted) until it is fixed.

Evidence

New validation error reporter (search for "Managed settings contain invalid entries")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed managed-settings allowedMcpServers/deniedMcpServers predicates not matching when they use ${VAR} references

See this entry in the whole of v2.1.166 →

Feedback