codex icon indicating copy to clipboard operation
codex copied to clipboard

Error when switching from api to subsription based usage for codex

Open Suketug opened this issue 1 year ago • 3 comments

What version of the VS Code extension are you using?

0.4.15

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

Getting the below error when switching from api to subscription auth.

stream error: unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }; retrying 1/5 in 197ms… stream error: unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }; retrying 2/5 in 437ms… stream error: unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }; retrying 3/5 in 838ms… stream error: unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }; retrying 4/5 in 1.598s… stream error: unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }; retrying 5/5 in 2.911s… unexpected status 400 Bad Request: { "error": { "message": "The encrypted content gAAA...EJE= could not be verified.", "type": "invalid_request_error", "param": null, "code": null } }

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Suketug avatar Sep 28 '25 19:09 Suketug

Are you trying to resume a conversation from your API key with your pro subscription? Do new conversations work?

gpeal avatar Sep 28 '25 20:09 gpeal

I'm also experiencing the same problem, albeit the other way around. I've just hit my usage limit on some tasks using the GPT Plus account. After switching to signing into the VS Code extension using an API I'm able to create new tasks, but attempting to send a message in an existing task is failing.

unexpected status 400 Bad Request: {
  "error": {
    "message": "The encrypted content gAAA...jZA= could not be verified.",
    "type": "invalid_request_error",
    "param": null,
    "code": null
  }
}

carman247 avatar Sep 29 '25 09:09 carman247

You can't resume a conversation in a different account than it was created with. This is a known limitation for now but we may improve the error messaging around this.

gpeal avatar Sep 29 '25 18:09 gpeal