Auto Compaction and Manual Compaction Error
What version of Codex is running?
0.59
What subscription do you have?
Pro
Which model were you using?
gpt-5.1-codex-max xhigh
What platform is your computer?
macOS 26
What issue are you seeing?
at 2% context window:
■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4
• Ran cd /Users/bsteinher/PRESENT && fnm exec --using=22.18.0 npm run stack:stop -- --livekit --sync --web || true
└
> [email protected] stack:stop
… +5 lines
[PortGuard] killing TCP listener 97096 on :7880
All dev services stopped (or no pid files found).
■ Error running remote compact task: unexpected status 500 Internal Server Error: {
"error": {
"message": "The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep
seeing this error. (Please include the request ID 0078d846-c945-4f55-a55c-4f813e53a6ee in your email.)",
"type": "server_error",
"param": null,
"code": null
}
}
• Ran cd /Users/bsteinher/PRESENT && kill 97071 97169 97273 97371 97096 2>/dev/null || true
└ (no output)
■ Error running remote compact task: unexpected status 500 Internal Server Error: {
"error": {
"message": "The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep
seeing this error. (Please include the request ID 439b41f7-5b45-456f-8507-174c19a3a164 in your email.)",
"type": "server_error",
"param": null,
"code": null
}
}
■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4
• Ran cd /Users/bsteinher/PRESENT && jq '.shapes | length' docs/parity/poster-shadow-2025-11-19T20-40-19-3NZ-doc.json
└ 0
■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4
• Feedback uploaded. Please open an issue using the following URL:
https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019a52b6-9479-7112-9168-cb822ad9b07c
Or mention your thread ID 019a52b6-9479-7112-9168-cb822ad9b07c in an existing issue.
■ Turn aborted: replaced by a new task
■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4
• Feedback uploaded. Please open an issue using the following URL:
https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019a52b6-9479-7112-9168-cb822ad9b07c
Or mention your thread ID 019a52b6-9479-7112-9168-cb822ad9b07c in an existing issue.
■ Error running remote compact task: invalid type: null, expected a string at line 212 column 4
What steps can reproduce the bug?
Uploaded thread: 019a52b6-9479-7112-9168-cb822ad9b07c
What is the expected behavior?
infinite context window
Additional information
:)
404 here, that is something server side. Or looks like it.
@waldoalvarez00, could you use /feedback and provide an uploaded thread ID?
@waldoalvarez00, could you use
/feedbackand provide an uploaded thread ID?
Sure, next time I hit it, I will provide feedback over there. I was not hitting autocompact too much lately, since I opted to restart as soon as I am done with something to overcome the issue. And also since I am just making final minor corrections to a project that is almost ready.
Having the same problem
■ Error running remote compact task: unexpected status 500 Internal Server Error: { "error": {
This was a temporary server issue that is fixed now.