# Claude Code 2.1.268

By Steven Van · 2026-09-10

The update fixes an HTTP 400 error on third-party endpoints and adds pricing, network and session controls for teams running a Claude apps gateway.

Claude Code 2.1.268 fixes two bugs that affected everyday use and adds a set of new controls for teams running a Claude apps gateway.

- Fixed every turn failing with an HTTP 400 error on third-party Anthropic-compatible endpoints (set via ANTHROPIC\_BASE\_URL) since version 2.1.265, caused by a regex in the Artifact tool's input schema that those endpoints reject.

- Fixed WebFetch hanging indefinitely on a server.

- Published artifacts now get a browser-tab icon, chosen by Claude to match each page.

- The plugin install, uninstall, update, enable and disable commands now support a **--json** flag, and rows from plugin list --json include errorDetails and noteDetails.

- claude auth status --json now includes a configDirectory field.

- Gateway admins can set pricing in gateway.yaml so signed-in [Claude Code](<https://creatorstoolbox.com/tools/claude-code>) clients see matching rates in /cost and telemetry, allow logins from an organization's own public IPv4 block via the new gatewayInternalNetworks setting, and get a startup warning when access\_control.allow\_cidrs is empty, plus a one-time warning the first time a request arrives from a public address.

- claude self-hosted-runner gained a **--remove-session-state** flag, off by default, that deletes each session's per-session directories when the session ends.

 Read the full [changelog entry](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21268>)

[![](<https://opengraph.githubassets.com/bf935e8a88fefee0f42342e6231e3735d662c81203aeff86be67cd8df875353b/anthropics/claude-code>)](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21268>)

![Claude Code](<https://claude.com/images/icon-512x512.png>)

Claude Code

Anthropic's agentic coding tool — Claude in your terminal, IDE, desktop app and browser, reading and editing your codebase, running commands, opening pull requests and working on tasks in the cloud.

[View Claude Code →](<https://creatorstoolbox.com/tools/claude-code>)

Sources

[Original source](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21268>)

[Read Claude Code 2.1.268 on Creators Toolbox](<https://creatorstoolbox.com/blog/claude-code-claude-code-2-1-268>)

---
Canonical source: https://creatorstoolbox.com/blog/claude-code-claude-code-2-1-268
