Skip to main content

BoltAI 3.1.1 — Codex CLI provider returns 401 invalid_jwt despite working native CLI

I'm experiencing a persistent OAuth authentication error when using the Codex CLI provider.

Environment:

  • BoltAI 3.1.1

  • Codex CLI 0.172.0

  • ChatGPT Plus

  • macOS (Apple Silicon)

Error:
401 invalid_jwt: "Could not find the appropriate key in your authentication token. Please try signing in again."

BoltAI successfully authenticates and verifies the connection, but inference requests fail.

I have independently confirmed that the official Codex CLI works using the same ChatGPT account:

/opt/homebrew/bin/codex exec -m gpt-6.2-sol --skip-git-repo-check "Reply with OK"

The command successfully returns OK.

I have also updated Codex, cleared its model cache, tested a fresh authentication environment, and repeatedly reauthenticated in BoltAI.

Given that native Codex inference works, the issue appears isolated to BoltAI's OAuth integration or credential handling.

Is this a known regression in 3.1.1? Is there a workaround or beta build that addresses it?

Log in to comment and vote

No comments yet

Be the first to share your thoughts.