Loading

Codex 报错 "Encrypted content could not be decrypted or parsed." 分析及解决

问题复现

Claude Code 先前使用 deepseek-v4-pro 模型,更改配置文件改为使用 gpt-5.5 模型之后,出现报错问题:

codex status_code=400, The encrypted content QVhO…og== could not be verified. 
Reason: Encrypted content could not be decrypted or parsed.

分析与解决

该问题是由于在同一个 session 中混用了不同来源/上游的模型或者是不同型号的模型导致的。Coding Agent 会对 session 中诸多内容(可能包含 Thinking 等)进行加密,而 GPT 有自己的 signature,混用不同模型的时候上游无法处理。

解决方法很简单(或者不能称为“解决”):同一个 session 中使用相同的模型,切换模型、上游后,即打开新的 session。

参考文献

posted @ 2026-05-16 23:53  kozumi  阅读(1674)  评论(0)    收藏  举报