codex - 💡(How to fix) Fix 403 Forbidden error in the middle of normal usage

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Just started getting this error during normal usage: Error running remote compact task: unexpected status 403 Forbidden: Unknown error, url: Started a new instance of codex in another shell window, still a 403 error preventing use.

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.121.0

What subscription do you have?

Not sure. It's a business license, though

Which model were you using?

gpt-5.4-mini medium

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Developer Command Prompt VS2022

What issue are you seeing?

Just started getting this error during normal usage: Error running remote compact task: unexpected status 403 Forbidden: Unknown error, url: https://chatgpt.com/backend-api/codex/responses/compact, cf-ray: 9ef4e6b21dfa247e-EWR

Started a new instance of codex in another shell window, still a 403 error preventing use.

What steps can reproduce the bug?

Uploaded thread: 019daaaf-370a-7dc2-a415-09e8080bd7a8 Uploaded thread: 019dab58-67b9-7eb2-b758-3b448dbe8442

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

The 403 Forbidden error when running the remote compact task may be related to authentication or permission issues with the Codex CLI.

Guidance

  • Verify the business license credentials and subscription status to ensure they are valid and active.
  • Check the Codex CLI documentation for any specific requirements or restrictions on using the gpt-5.4-mini medium model with a business license.
  • Investigate if there are any known issues or updates related to the 0.121.0 version of the Codex CLI that may be causing the 403 error.
  • Try running the Codex CLI with a different model or version to see if the issue is specific to the gpt-5.4-mini medium model.

Notes

The issue may be related to the business license or subscription, but without more information about the license and subscription details, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Try using a different model or version of the Codex CLI to see if the issue persists, as this may help identify if the problem is specific to the gpt-5.4-mini medium model or a more general issue with the 0.121.0 version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING