Skip to content

Unexpected 403 forbidden error #9271

Closed as not planned
Closed as not planned

Description

@bvirlet

What version of Codex is running?

0.84.0

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5.2

What platform is your computer?

Darwin 24.6.0 arm64 arm

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

iTerm2

What issue are you seeing?

unexpected status 403 Forbidden: , url: https://chatgpt.com/backend-api/codex/responses, request id: 9be4b1270fd6d08f-CDG

What steps can reproduce the bug?

Uploaded thread: 019bc133-83e8-7250-a68c-fcc45ca0ffd4

What is the expected behavior?

No error

Additional information

It was working yesterday.
Nothing changed.

Activity

  1. added
    CLIIssues related to the Codex CLI
    authIssues related to authentication and accounts
    on Jan 15, 2026
  2. growdelan commented on Jan 15, 2026

    @growdelan

    Perhaps this will be helpful, I log in via my Google account.

    The same problem here on the Plus subscription.
    Additionally, I cannot use chatgpt.com, I get a 403 error everywhere when I type anything. On top of that, it shows me as if I had a Pro subscription:

    Image
  3. marked problem with codex #9278 as a duplicate of this issue on Jan 15, 2026
  4. etraut-openai commented on Jan 15, 2026

    @etraut-openai
    Contributor

    @bvirlet, sorry to hear you're having issues. Based on your description, this sounds like a general ChatGPT auth issue, not specific to Codex. I suppose you've already tried logging out and logging back in to refresh your auth token? If that doesn't work, I recommend contacting OpenAI customer support.

  5. Schreezer commented on Mar 8, 2026

    @Schreezer

    this issue is happening especially with websockets

  6. attikov commented on Mar 11, 2026

    @attikov

    Same here.
    Ran 'codex auth login', then restarted codex after the login.
    That eventually fixed it.
    Could be a coincidence.

    unexpected status 403 Forbidden: {
    "error": {
    "message": null,
    "type": null,
    "code": "invalid_workspace_selected",
    "param": null
    },
    "status": 403
    }, url: https://chatgpt.com/backend-api/codex/responses, cf-ray: ...92-FRA, request id: ...295

  7. eba8 commented on Mar 23, 2026

    @eba8

    Facing a similar issue with Codex Mac app:

    Reconnecting... 1/5
    Reconnecting... 2/5
    Reconnecting... 3/5
    Reconnecting... 4/5
    Reconnecting... 5/5
    unexpected status 403 Forbidden: {"detail":{"code":"invalid_workspace_selected"}}, url: https://chatgpt.com/backend-api/codex/responses, cf-ray: 9e0fd77e, request id: 33fe3f26-, auth error: 403, auth error code: invalid_workspace_selected

  8. willbin commented on Mar 26, 2026

    @willbin

    Same here, fixed by @attikov solution.
    Run "codex auth login" in your Terminal, it will open a Browser to login again, then back to normal.
    @eba8 You can have a try.

  9. cniggeler commented on Apr 20, 2026

    @cniggeler

    I just found this issue too and it went away by turning off my VPN.

  10. attikov commented on Apr 20, 2026

    @attikov

    cool, next time we will turn off your VPN

  11. hthuku95 commented on Apr 20, 2026

    @hthuku95

    """Route Error (500 ): {
    "isTrusted": true
    }""" I got this error next after trying to relogin

  12. liupeng176 commented on Apr 20, 2026

    @liupeng176

    I just found this issue too and it went away by turning off my VPN.

    turn off vpn and turn on vpn ,it is ok! thks

  13. kunkka19xx commented on Apr 20, 2026

    @kunkka19xx

    I use codex in opencode inside windows VM and got the same issue! i do not use vpn. hmm. Tried auth serveral times but still errors.

  14. attikov commented on Apr 20, 2026

    @attikov

    """Route Error (500 ): { "isTrusted": true }""" I got this error next after trying to relogin

    https://status.openai.com/

  15. skyonedot commented on Apr 20, 2026

    @skyonedot

    get same error.

  16. temktoznaet commented on Apr 20, 2026

    @temktoznaet

    Same here. With or without VPN, I see the same error

  17. VitaliiBlack commented on Apr 20, 2026

    @VitaliiBlack

    It looks like the service on the route - https://chatgpt.com/backend-api/codex/responses - has crashed and is still down!

  18. dragonbaba commented on Apr 20, 2026

    @dragonbaba

    Same

  19. sunrisever commented on Apr 20, 2026

    @sunrisever

    the same for windows. client crashed?

  20. electricmessiah commented on Apr 20, 2026

    @electricmessiah

    It's down folks..

    ChatGPT
    Codex
    Users unable to load ChatGPT and Codex
    
    We are investigating the issue for the listed services.
    Investigating·Ongoing for 30 minutes
    ·Affects ChatGPT, Codex`
    
  21. locked as resolved and limited conversation to collaborators on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIauthIssues related to authentication and accountsbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions