api
Anthropic API
29 verified traps, most recently checked first. Also as a list with each fix: Anthropic API breaking changes.
- fg-0617Anthropic APIVerified Nov 2026Enterprise Analytics session, message and connector counts shift after November 2026 counting changes
List User Activity sessions.distinct_session_count and message_count differ from earlier pulls
verified 2026-11-27 · 0 confirmations
- fg-0610Anthropic APIVerified Nov 2026Compliance API Activity Feed filename and title fields are always empty
filename or title is empty or missing on file, project document, and artifact activities
verified 2026-11-20 · 0 confirmations
- fg-0606Anthropic APIVerified Nov 2026Requests to claude-opus-4-8 with speed "fast" fail after the November 30, 2026 removal
Error response on requests to claude-opus-4-8 that set speed: "fast"
verified 2026-11-13 · 0 confirmations
- fg-0597Anthropic APIVerified Nov 2026Advisor tool returns 400 when a Claude Fable 5.2 or Mythos 5.2 executor uses any other advisor model
400 error from a request using the advisor tool after switching the executor to claude-fable-5-2 or claude-mythos-5-2
verified 2026-11-13 · 0 confirmations
- fg-0598Anthropic APIVerified Nov 2026computer_20251124 returns 400 on Claude Fable 5.2 and Mythos 5.2
400 error when a request declares computer_20251124 with claude-fable-5-2 or claude-mythos-5-2
verified 2026-11-13 · 0 confirmations
- fg-0577Anthropic APIVerified Oct 2026Requests to claude-sonnet-4-5-20250929 will fail after the November 30, 2026 retirement
Requests pinned to claude-sonnet-4-5-20250929 start returning errors after November 30, 2026
verified 2026-10-30 · 0 confirmations
- fg-0578Anthropic APIVerified Oct 2026Cache diagnostics reports previous_message_not_found on the next turn
diagnostics shows previous_message_not_found when previous_message_id is set
verified 2026-10-30 · 0 confirmations
- fg-0560Anthropic APIVerified Oct 2026Without a spend limit of your own, a runaway Claude API route bills up to your tier's full monthly cap
Usage in the Claude Console climbs far beyond what your real users explain
verified 2026-10-27 · 0 confirmations
- fg-0557Anthropic APIVerified Oct 2026Messages API request with the web fetch tool returns 400 after an org admin turns off web fetch
400 error on any Messages API request that includes the web fetch tool
verified 2026-10-24 · 0 confirmations
- fg-0552Anthropic APIVerified Oct 2026Creating a Managed Agents session returns 400, or web_fetch/web_search return nothing, under limited networking with allowed_hosts
400 error on session create or update when a web tool's allowed_domains has an entry not within allowed_hosts
verified 2026-10-24 · 0 confirmations
- fg-0539Anthropic APIVerified Oct 2026400 errors after switching from Claude Haiku 4.5 to claude-haiku-5-5 with budget_tokens, temperature, top_k, or prefill
400 invalid_request_error after changing model to claude-haiku-5-5
verified 2026-10-17 · 0 confirmations
- fg-0545Anthropic APIVerified Oct 2026Turning thinking off on Claude Sonnet 5.5 fails with thinking type disabled, and computer_20251124 returns 400
400 error when sending thinking: {"type":"disabled"} to claude-sonnet-5-5
verified 2026-10-17 · 0 confirmations
- fg-0476Anthropic APIVerified Oct 2026SDK throws 'Streaming is required for operations that may take longer than 10 minutes' before sending
Streaming is required for operations that may take longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#long-requests for more details
verified 2026-10-15 · 0 confirmations
- fg-0475Anthropic APIVerified Oct 2026Prompt caching silently does nothing: cache_creation_input_tokens and cache_read_input_tokens stay 0
usage.cache_creation_input_tokens: 0 and usage.cache_read_input_tokens: 0 on every call
verified 2026-10-15 · 0 confirmations
- fg-0470Anthropic APIVerified Oct 2026429 rate_limit_error that retries never clear because the monthly API spend limit was reached
429 rate_limit_error: You have reached your API usage limits
verified 2026-10-15 · 0 confirmations
- fg-0474Anthropic APIVerified Oct 2026Prompt cache misses after changing tool_choice, images, effort, or thinking settings between calls
cache_read_input_tokens drops to 0 on a turn where only tool_choice changed
verified 2026-10-15 · 0 confirmations
- fg-0471Anthropic APIVerified Oct 2026Assistant prefill returns 400 on Claude Opus 4.6 and later models
400 invalid_request_error when the messages array ends with an assistant turn
verified 2026-10-15 · 0 confirmations
- fg-0478Anthropic APIVerified Oct 2026temperature or top_p returns 400, or a TypeError in the Python SDK, on Claude Opus 4.7 and later
400 invalid_request_error naming temperature, top_p, or top_k
verified 2026-10-15 · 0 confirmations
- fg-0479Anthropic APIVerified Oct 2026tool_choice type "tool" or "any" returns 400 on Claude Opus 5.5, Sonnet 5.5, and Fable 5.1
tool_choice: type "tool" and "any" are not supported for this model.
verified 2026-10-15 · 0 confirmations
- fg-0469Anthropic APIVerified Oct 2026400 "thinking.type.enabled" is not supported after switching to a newer Claude model
400 invalid_request_error: "thinking.type.enabled" is not supported for this model
verified 2026-10-15 · 0 confirmations
- fg-0472Anthropic APIVerified Oct 2026Calling the Claude API from the browser fails with a CORS error or a browser-like environment error
It looks like you're running in a browser-like environment. This is disabled by default, as it risks exposing your secret API credentials to attackers.
verified 2026-10-15 · 0 confirmations
- fg-0467Anthropic APIVerified Oct 2026400 Invalid signature in thinking block: 'The block is bound to a different conversation'
messages.N.content.M: Invalid `signature` in `thinking` block. The block is bound to a different conversation.
verified 2026-10-15 · 0 confirmations
- fg-0473Anthropic APIVerified Oct 2026Message Batches results come back in a different order than the requests were submitted
Answers are attached to the wrong input rows
verified 2026-10-15 · 0 confirmations
- fg-0477Anthropic APIVerified Oct 2026Structured outputs return 400 'Schema is too complex for compilation' or 'compiled grammar is too large'
The compiled grammar is too large, which would cause performance issues. Simplify your tool schemas or reduce the number of strict tools.
verified 2026-10-15 · 0 confirmations
- fg-0468Anthropic APIVerified Oct 2026400 "thinking.type.disabled" is not supported when turning thinking off on Opus 5.5 or Sonnet 5.5
"thinking.type.disabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.
verified 2026-10-15 · 0 confirmations
- fg-0002Anthropic APIVerified Sep 2026Claude with web search narrates before its JSON, so a strict JSON parser reports nothing
JSON.parse fails or returns an empty list
verified 2026-09-24 · 0 confirmations
- fg-0001Anthropic APIVerified Aug 2026Claude response is empty with stop_reason max_tokens and no error
stop_reason: max_tokens with zero text blocks
verified 2026-08-02 · 0 confirmations
- fg-0003Anthropic APIVerified Jul 2026content[0].text is undefined when the model returns a thinking block first
Cannot read properties of undefined
verified 2026-07-18 · 0 confirmations
- fg-0004Anthropic APIVerified Jul 2026Long Claude request fails with 'Premature close' on an old SDK
Premature close
verified 2026-07-13 · 0 confirmations
Give your coding agent these traps before it hits them