unexpected status 413 Payload Too Large: openai_error,
Resolved 💬 8 comments Opened Apr 17, 2026 by Fish1001 Closed Apr 17, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What issue are you seeing?
<img width="507" height="300" alt="Image" src="https://github.com/user-attachments/assets/e0c212ca-6563-47a8-9d7f-4f8c2d7407d5" />
频繁出现:unexpected status 413 Payload Too Large: openai_error
What steps can reproduce the bug?
<img width="507" height="300" alt="Image" src="https://github.com/user-attachments/assets/e0c212ca-6563-47a8-9d7f-4f8c2d7407d5" />
频繁出现:unexpected status 413 Payload Too Large: openai_error
What is the expected behavior?
_No response_
Additional information
_No response_
8 Comments
Please use
/feedbackto upload logs and session details, then post the thread ID here.因涉及到项目隐私,我无法向您提供相关的信息,但是这类问题已经有非常多的朋友提出并发现,我觉得足够引起你们的重视了,就像我们重视并感谢你们的付出一样。
Thanks, but without logs there's not much we can do to diagnose the reported problem.
这是一个非常好复现的问题,你用 codex 桌面版,开一个对话框,使劲儿的对话,到达上限后 就自动出现这个问题了。但是你写的上限很高,而触发这个问题 可能只需要非常低非常低的上限就触发了。所以才说这是一个bug,所以才说这个问题比较好复现,因为出现的太频繁了。
这个问题我也遇到了,是一个非常大的bug,明明聊天内容很短,但是很快就会触发这个问题。而且应该很好复现,如图所示,我只是聊了几句话,发送了几张图片就触发了这个bug。
<img width="692" height="779" alt="Image" src="https://github.com/user-attachments/assets/a6300dc5-e5b2-463c-b4c3-056a42772107" />
我已经知道问题了,这个是用了中转导致的,中转那边没有开通100m的压缩,你让中转那边开通一下 就可以了,中转那边只有1m
这个和codex官方无任何关系。。。。
你的中转上游的nginx的client_max_body_size默认1 m,让他中转商改成100M即可解决这个问题。