Open a python file, open the agent/chat sidebar, try to do a query.
Works when I try to use Agent/Ask with gpt4o, gpt4.1 or o3-mini.
When I try to use o3 or o4-mini, I get:
We encountered an issue when using your API key: Provider was unable to process your request
API Error:
Request failed with status code 400: {
"error": {
"message": "Encrypted content can only be requested when persistence is disabled.",
"type": "invalid_request_error",
"param": "include",
"code": null
}
}
This prevents me from using Cursor because I find o3 much better than other models for my core use cases, so I revert to using the ChatGPT interface.
Any thoughts? I can’t find this error message anywhere.
Thanks!
Check the forum to ensure the issue hasn’t been reported already
— Done Provide a clear description of the bug
— Done Explain how to reproduce the bug (if known)
— Done Attach screenshots or recordings (e.g., .jpg, .png, .mp4).
— Done
THe verification issues when I try to use o3 in any ccontext. I have successfully verified my OpenAI account several days ago but still see these issues
Since today, I also see the Encrypted issue above when using o4-mini. I don’t think this used to be the case. It happens whether I turn private mode on or off.
I am also experiencing this very frustrating issue. I recently switched (or tried to switch) to cursor from VSCode as it was a nice, comfortable change for me, however nearly every time I’ve tried to work on something, there’s always an error, and today it was this error.
Mine is the exact same as yours:
Request failed with status code 400: {
"error": {
"message": "Encrypted content can only be requested when persistence is disabled.",
"type": "invalid_request_error",
"param": "include",
"code": null
}
}
It is a shame as I really like the look and idea of Cursor, but I think until they can stabilise the way they handle new model releases, I’ll have to stick with VSC.
If any of the Cursor team see this and want to debug, I can provide my request ID in PMs.
Request failed with status code 400: {
"error": {
"message": "Encrypted content can only be requested when persistence is disabled.",
"type": "invalid_request_error",
"param": "include",
"code": null
}
}
OpenAI account Organisation is verified, toggling Privacy mode and restarting cursor makes no difference.
Manual does not work for me as it seems, I’m getting:
Agent and Edit rely on custom models that cannot be billed to an API key. Please use a Pro or Business subscription and/or disable API keys. Ask should still work.
I’m usually working in Ask mode as I’m using API Keys (no Cursor subscription).
In any case selecting the default o4-mini now I’m getting
Request failed with status code 400: {
“error”: {
“message”: “Your organization must be verified to generate reasoning summaries. Please go to: https://platform.openai.com/settings/organization/general and click on Verify Organization. If you just verified, it can take up to 15 minutes for access to propagate.”,
“type”: “invalid_request_error”,
“param”: “reasoning.summary”,
“code”: “unsupported_value”
}
}
So the issue here would be verifying my organization (which seems to be cumbersome).
In case this helps anyone else: adding o3-mini manually does work (same as in VS Code). Only o4-mini is giving me problems.