Store=true doesn't work with codex, it return 400 bad request: Store must be false

I tried to follow the OpenAI documents to set store=true in codex, but after that, it returns 400 bad request with the response: Store must be False. Why is that? Does anyone know about it?

Hi and welcome to the Community!

In order to resolve this, what exactly do you mean by set store=true in codex?
There is no store = true config option available for Codex. This option is available via API, so it may be a mix up.

If the goal is to store local state and session transcripts, the relevant setting is:
history.persistence = "save-all" | "none"
You can manage this in ~/.codex/config.toml, or configure it per project.

If the goal is to use the Codex memory feature, the relevant settings are:
memories.generate_memories and memories.use_memories

Separately, I also checked the Responses API. The store parameter works as expected there when using gpt-5.3-codex.

Thanks for your reply. My goal is to restore from the last response without sending the overall conversation. I read OpenAI docs, and it tells me that I can set store=true it to keep my response in the server for about 30 seconds, so I tried to update the Codex source to do that. As my understanding, if sending the overall conversation, it will consume more tokens, instead of sending previous_response_id, right? I also retried with some models, but none of them worked. This is the response:

It seems the ChatGPT backend hard-blocks store=true for every model