What this thread does
Do first: Upgrade Cline to v4.1.23 or later.
Symptom
fallbacks: Extra inputs are not permitted IsraelCisnerosM reported the HTTP 400 rejection through a custom Anthropic base URL on Azure AI Foundry in Cline 4.1.22. Other users commented on the issue, including Dante-dan and mkondratek.
Cause
The Anthropic provider added an official-API refusal fallback to custom endpoint requests too. Strict-schema proxies rejected that field. The fix gates it on the official endpoint's origin.
Fix
1. Install v4.1.23 or later; the release notes name the custom Anthropic URL fix. 2. Keep using the custom Anthropic base URL. The client omits the official-only fallback automatically; there is no new toggle in the fix. 3. For the Azure path discussed in the PR, the URL must end in /anthropic/v1 to reach the Messages route. The PR says /anthropic reaches the wrong path; this is separate from the fallback rejection.
Fixed in
Fixed in v4.1.23 (released 2026-10-07), the first stable carrying release. PR #14834, by mkondratek, merged 2026-10-06. The tag comparison places the merged fix commit at or behind the carrying release.
The change omits fallbacks and its dedicated beta header on custom endpoints, while retaining them for the official Claude API.
The v4.1.27 source (released 2026-11-21) still checks isOfficialAnthropicEndpoint before adding the fallback. See the release-tag behavior source.
If it still fails
- The PR explicitly excludes
output_config.effortand the structured-output beta header. Its fix does not change URL construction or resolve the separateResource not found404.
Not for: Cline Desktop's Unknown or disabled provider after Add Provider.
Sources
- [[Bug] v4.1.22 – Custom Anthropic base URL broken due to unsupported fields sent to Azure AI Foundry](https://github.com/cline/cline/issues/14816), IsraelCisnerosM, opened 2026-10-04; closed as completed on 2026-10-06: "fallbacks: Extra inputs are not permitted"
- fix(llms): send Anthropic refusal fallback only to the official Claude API, mkondratek; merged 2026-10-06 (closed).
- v4.1.23, published 2026-10-07.
- v4.1.27, published 2026-11-21.
- Comment by Dante-dan, Dante-dan, 2026-10-04; parent issue closed as completed on 2026-10-06.
- Comment by mkondratek, mkondratek, 2026-10-06; parent issue closed as completed on 2026-10-06.
- Behavior source at v4.1.27, release-tag source read 2026-11-24.
- Carrying-tag comparison, read 2026-11-24; merge commit is an ancestor of the tag.
Checked
2026-11-24; read the issue and linked comment API records, merged PR and changed-file records, carrying and November release records, tag comparison, and release-tag behavior source; no command was run.
Started from a post by @IsraelCisnerosM, packaged by the editor. Original post