You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeatedly get into this state after a while on the same task and unable to make progress - any subsequent message triggers a compaction. Resuming the chat results in the same.
Error running remote compact task: unexpected status 413 Payload Too Large: <title>413 Payload Too Large</title>
I hit this with Codex CLI (not an IDE integration). Agent halted unexpectedly with 413 Payload Too Large, and any attempt to continue failed with 413. Compaction also failed with 413. thread ID 019c8df6-36df-79f3-99df-30d0e7fe6697
I hit the same problem when trying to use Codex Cli to analyze some png files. When dealing with about less than 50 photos, it works. But it always failed if it tried to handle about 100 photos in a conversation.
Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use /feedback and open a new bug report.
Activity
tomzlabs commentedon Feb 23, 2026
Error running remote compact task: unexpected status 413 Payload Too Large: <title>413 Payload Too Large</title>
413 Payload Too Large
cloudflare , url: https://chatgpt.com/backend-api/codex/responses/compact, cf-ray: 9d2276fa7aa45aac-MEL
nbarbettini commentedon Feb 25, 2026
I hit this with Codex CLI (not an IDE integration). Agent halted unexpectedly with 413 Payload Too Large, and any attempt to continue failed with 413. Compaction also failed with 413. thread ID 019c8df6-36df-79f3-99df-30d0e7fe6697
Code-Cats commentedon Mar 13, 2026
I’m also hitting this consistently in ChatGPT Codex.
Symptoms:
https://chatgpt.com/backend-api/codex/responses/compact
Observed error:
<title>413 Payload Too Large</title>Error running remote compact task: unexpected status 413 Payload Too Large:
413 Payload Too Large
cloudflare
cf-ray: 9db96b4fa9ef40fc-SIN
What makes this especially bad:
Expected behavior:
If useful, I can provide screenshots of the UI state showing “auto compressing background information” immediately before the 413.
Chi-Shan0707 commentedon Jun 14, 2026
I hit the same problem when trying to use Codex Cli to analyze some png files. When dealing with about less than 50 photos, it works. But it always failed if it tried to handle about 100 photos in a conversation.
etraut-openai commentedon Jun 29, 2026
Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use
/feedbackand open a new bug report.