Open
Description
I am using a OpenAI Enterprise account, and no matter what query I put in, codex fails with the following message:
OpenAI rejected the request (request ID: req_1a9b278241d22896524af079e9ba9c8c). Error details: Status: 400, Code: unsupported_parameter, Type: invalid_request_error, Message: 400 Previous
response cannot be used for this organization due to Zero Data Retention.. Please verify your settings and try again.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
bbrzoska commentedon Apr 16, 2025
same issue here
tibo-openai commentedon Apr 16, 2025
Currently we don't support ZDR orgs because we need
store:true
to leverage internal reasoning steps, but as per https://platform.openai.com/docs/guides/your-data#responses-api: "Unlike Chat completions, the Responses API has a 30 day retention period by default, or when the store parameter is set to true."tibo-openai commentedon Apr 16, 2025
We should document this in the README for now.
ramgsuri commentedon Apr 17, 2025
How and where to set this parameter, can you help explain.
docs: add ZDR org limitation to README (#234)
docs: add ZDR org limitation to README (openai#234)
docs: add ZDR org limitation to README (openai#234)
Update (#1)
TerminalGravity commentedon May 2, 2025
bump
MaccariTA commentedon May 5, 2025
Despite being on the latest version (0.1.2505021246) and the README mentions it does support ZDR, I'm still getting this issue.
I'm mentioning @fouad-openai who made the change in the README.
itsaphel commentedon May 6, 2025
I find that you need to also use the
--disable-response-storage
argument for codex to work with ZDR. With that flag, it seems to work for me.