Invalid signature in thinking block
Claude API, HTTP 400, invalid_request_error.
Example message:
messages.1.content.0: Invalid `signature` in `thinking` block.What it means
This looks like the prefix-check error but isn’t: it doesn’t say the block is bound to a different conversation. Setting prefix_mismatch_behavior might not clear it. It usually means the thinking block itself was changed.
These errors don’t say that the block is bound to a different conversation, and setting prefix_mismatch_behavior might not clear themFix a thinking block bound to a different conversation (checked 2026-11-20)
A message that stops after “Invalidsignatureinthinkingblock”, says “cannot be modified”, or is aboutbudget_tokens: Troubleshooting thinking
Fix a thinking block bound to a different conversation (checked 2026-11-20)
Follow Anthropic's thinking troubleshooting guide.
Other prefix-check errors
Last checked 2026-11-20 against Anthropic's docs.
FAQ
Will drop_block fix it?
Not necessarily. Anthropic’s docs say setting prefix_mismatch_behavior might not clear these errors. Follow Anthropic’s thinking troubleshooting guide.