What is the exact message?
Prompt is too long · automatic compaction failed: summarization produced empty responseThe middle of the line is the part that matters: everything after the colon names what actually went wrong.
What does it mean?
Anthropic documents the shape of this message: when automatic compaction has run and failed on an underlying error, such as an unavailable model or an authentication failure, the message names that error after a separator. Here the named failure is that the summarization came back empty — the request for a summary returned nothing to use.
So two things are true at once. The conversation is too long to send as it stands, and the mechanism that would shorten it is not producing a summary. That is why retrying the command is not the fix: Anthropic's own instruction is to resolve the named error first, because /compact fails on the same error until you do.
What is known about the cause
Anthropic documents the shape of this message and not an explanation of an empty summary: nothing published says why the summarization came back with nothing. What the documentation does establish is that the words after the colon are the underlying error, so if a different failure had been behind it, the message would name that instead.
- The named failure is the summarization. That is what the message states, and it is why the rest of the conversation is untouched.
- It can go unnoticed. Issue 103708 reports a case where automatic compaction failed in the desktop app, no notice appeared, and the uncompacted conversation was sent instead while the summarizing call's cost was still paid. That is a report about silence, not about the cause.
Where a cause is not documented, this page says so rather than guessing: an empty summary has no published explanation.
How do I get working again?
- Save the conversation without sending a message. Run
/exportand save the transcript as a plain-text file. Anthropic documents it as opening a menu that copies the conversation or writes it to a file — and because nothing is sent to the model, it still works in the state this message describes, where a message cannot go through. - Start fresh. Run
/clear, then give Claude the essentials again or the path of the file you saved. Anthropic documents/clearas the way to start fresh when compacting cannot free the space. - Do not expect
/compactto work while the named error stands. Anthropic documents the opposite explicitly: it fails on the same error until that error is resolved. - Check the rest of the session before assuming it is compaction. If another request fails too, the underlying error is the thing to fix; the connection family covers refused, dropped and unreachable, and the login family covers a refused credential.
- Update Claude Code. Run
claude update. Compaction fixes ship in named versions and Anthropic's changelog lists them, but no entry promises to fix an empty summary, so this is a cheap first try rather than a cure. - If it repeats, report it with the debug log. The reporter on issue 103708 notes that without debug mode the reason is recorded nowhere. Run with
--debugso the next attempt leaves a trace.
How do I know it is fixed?
- Your messages send again, because the conversation you are in now fits the window.
- If automatic compaction runs on the new conversation, it completes instead of leaving this message behind.
- The work you saved in step 1 is on disk, so nothing you needed depended on the old conversation surviving.
Where these answers come from
- That an automatic compaction failure names its underlying error after a separator, and that
/compactfails on the same error until it is resolved: Anthropic's error reference, read November 21, 2026. - That
/clearstarts fresh, and the rest of the recovery around a conversation that will not compact: the same section, read November 21, 2026. - That a failed automatic compaction can be silent in the desktop app, that the reason travels in the host's message and is dropped, and that the summarizing call is paid for anyway: claude-code issue 103708, read November 21, 2026.
- That compaction fixes ship in named versions, entry by entry: Anthropic's Claude Code changelog, read November 21, 2026.
- The message itself, quoted verbatim; the failure it describes is the one reported in issue 103708.
Common questions
What actually failed?
The summarization, not the conversation. Automatic compaction asked for a summary of your earlier turns and got an empty response back, so there was no summary to carry forward. Your conversation is unchanged; the thing that was meant to shrink it produced nothing.
Why does running /compact again not fix it?
Because it is the same request. Anthropic documents that when automatic compaction fails on an underlying error, the message names that error after the separator, and that /compact fails on the same error until you resolve it. An empty summary is that underlying failure, so repeating the command repeats the failure.
Do I lose the conversation if I clear it?
You start a new conversation, which is what /clear does. Anthropic documents /clear as the way to start fresh when compacting cannot free the space. If the earlier turns matter, copy what you need into a file first, then clear and tell Claude the essentials again.
Can it fail silently?
A reporter documents a case where it did, in the desktop app: the automatic compaction failed, the app showed no notice, the uncompacted conversation was sent instead, and the summarizing call's tokens were still paid for. That is a report on issue 103708, not a documented behaviour, and it is the reason to check the transcript rather than trust that compaction happened.
Should I update Claude Code?
It is worth trying, because compaction fixes ship in specific versions and Anthropic's changelog records them one by one. Run claude update. What the changelog does not promise is that any particular build fixes an empty summary, so treat an update as a first cheap step rather than the cure.
Is this the same as "compaction is not making progress"?
No. That one is the thrashing stop: compaction worked, and the window refilled straight away several times. Here compaction did not produce a summary at all. The first is a loop; this is a failure to produce the thing.