message-threads changedbuild-with-claude/message-threads
Nearest release: v2.1.328, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+11added
Lines−1removed
From line
648
where the diff opens
First seen
2 Nov 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 648, old and new numbered
/
from line 648
648648* The request comes from a different user or service account from the one that created the thread. A thread created with a [workspace key (legacy)](https://platform.claude.com/docs/en/manage-claude/authentication#key-types) stays with that key, so use the same key for the whole thread.
649649* The new messages add something that the stored conversation can’t take. For example, the first image in a conversation that had none can return this error.
650650
651To recover, send the full conversation from your own copy in a new create request with `system` and `tools`. The SDK thread helper sends this create request once by itself and leaves out the `cache_control` breakpoints of earlier turns when it does. If earlier messages in your copy carry `cache_control` breakpoints, remove them first (see [Prompt caching on a thread](https://platform.claude.com/docs/en/build-with-claude/message-threads#prompt-caching)). Then continue from the new response `id`. If a fallback model wrote the previous response, see [Use fallbacks with a thread](https://platform.claude.com/docs/en/build-with-claude/message-threads#fallbacks). To rule out the ownership causes, use the same API key and workspace for every request of a thread. On Claude Platform on AWS, sign every request of a thread with credentials for the IAM role or IAM user that created the thread.
651To recover, follow these steps:
652
6531. If earlier messages in your own copy of the conversation carry `cache_control` breakpoints, remove them (see [Prompt caching on a thread](https://platform.claude.com/docs/en/build-with-claude/message-threads#prompt-caching)).
6542. Send the full conversation from your copy in a new create request with `system` and `tools`.
6553. Continue from the new response `id`.
656
657The SDK thread helper sends this create request once by itself. When it does, it leaves out the `cache_control` breakpoints of earlier turns.
658
659If a fallback model wrote the previous response, see [Use fallbacks with a thread](https://platform.claude.com/docs/en/build-with-claude/message-threads#fallbacks).
660
661Some of these causes depend on who sends the request. To rule them out, use the same workspace and the same API key, user, or service account for every request of a thread. On Claude Platform on AWS, sign every request of a thread with credentials for the IAM role or IAM user that created the thread.
652662
653663A request for a model that does not exist also returns a 404 error, so check `error.details.error_code` before you replay.
654664
No line in this hunk matches that.