Getting error with `"code": "invalid_encrypted_content"` periodically

Resolved 💬 3 comments Opened Dec 16, 2025 by jonator Closed Dec 16, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.73.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

Randomly and periodically, while an agent is running, I get the above error.

What steps can reproduce the bug?

Uploaded thread: 019b28d3-ec25-7093-90cc-e11341a8ac77

What is the expected behavior?

Should not get mysterious encryption errors when an agent is running.

Additional information

I just today installed and started using coded.

View original on GitHub ↗

3 Comments

advatar · 8 months ago

■ {
"error": {
"message": "The encrypted content gAAA...aLY= could not be verified.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_encrypted_content"
}
}

nimble-cr · 8 months ago

■ {
"error": {
"message": "The encrypted content gAAA...pg== could not be verified.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_encrypted_content"
}
}

etraut-openai contributor · 8 months ago

Thanks for reporting. We're aware of the problem, and the team is actively investigating.