Error running remote compact task: unexpected status 413 Payload Too Large

Resolved 💬 3 comments Opened Feb 11, 2026 by tommedema Closed Feb 15, 2026

What version of the IDE extension are you using?

0.4.71 (have also tried pre-release version)

What subscription do you have?

ChatGPT Pro

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.4.0 arm64 arm

What issue are you seeing?

See /feedback thread ID: 019c4a51-6201-7a90-afa5-74ed176ba9fc and cf-ray: 9cc204458e2a8075-SJC

When Codex is attempting to compact a long conversation, I get:

Error running remote compact task: unexpected status 413 Payload Too Large: <html> <head><title>413 Payload Too Large</title></head> <body> <center><h1>413 Payload Too Large</h1></center> <hr><center>cloudflare</center> </body> </html>, url: https://chatgpt.com/backend-api/codex/responses/compact, cf-ray: 9cc204458e2a8075-SJC

And also:

{"detail":"Bad Request"}

This is reproducible.

What steps can reproduce the bug?

Hold a long conversation with Codex and ask Codex to visually inspect screenshots of its work.

What is the expected behavior?

Conversations should be compacted without errors.

Additional information

See /feedback thread ID: 019c4a51-6201-7a90-afa5-74ed176ba9fc

cf-ray: 9cc204458e2a8075-SJC

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗