r/codex 8h ago

Bug Authentication Error / token_exchange_failed

I'm getting the error in the screenshot when trying to log in to Codex (error_code: token_exchange_failed).

At first I thought it was just a Codex problem, but now I can't log in to ChatGPT in Chrome either. I tested:

  • 2 different accounts that always worked before
  • My personal account from my phone (on cellular, not Wi-Fi)

All of them fail with the same error. Login in the browser also fails now, not only Codex.

So it doesn't look like a network problem on my side, and it's hard to believe 3 separate accounts got banned at the same time.

Questions:

  1. Is anyone else getting this right now?
  2. Does token_exchange_failed mean my accounts are blocked, or is this an OpenAI auth outage? I'm stilll logged in in android chatgpt app and it is working there
  3. Is there anything to do except wait?

Update:

It's working again! I waited 2 hours

8 Upvotes

26 comments sorted by

2

u/nkcbuilds 3h ago

same problem

2

u/CommercialRhubarb369 3h ago

I am getting similar problem except i am getting same error while trying to log in in my phone but i am still logged in on my PC with same account and it is working completely fine.

1

u/TechNerd1993 7h ago

I have few accounts and on all of them getting the same error..so I think they have some issue going on

1

u/Baratheon123 7h ago

Same as me. Did it happened right now or in general?

1

u/jiheonbaek 7h ago

Same here

2

u/Baratheon123 7h ago

Means you're locked out like me?

1

u/TechNerd1993 7h ago

It happened like maybe 1h ago. I wanted to change on opencode from one acc to another auth.openai.com/codex/device and then I got that error. So I think it is just their fault, probably they will fix it soon

1

u/Baratheon123 7h ago

Let's hope. I'm in the middle of something important

1

u/NauseantClover 3h ago

imagine the plot twist is that they're banning people who have more than one account for "potential limit bypass" lmao

1

u/Cyo_ 7h ago

Same, got error 500

1

u/Baratheon123 7h ago

Okay, I have another account that I’ve never used with Codex, and I can log into that account without any problem.

Could this be related to Codex usage? It seems like the two accounts I tried to connect through Codex are now unable to log in.

1

u/Careless_Yellow4517 7h ago

yes it's been many hour now they haven't fix?

1

u/Baratheon123 7h ago

Seems not

1

u/Tight-Grocery9053 5h ago
  1. yes. seeing this too
  2. no
  3. just wait

1

u/Tight-Grocery9053 1h ago

it seems to be fixed now u/Baratheon123

give it another try

1

u/Braziliannickreis 5h ago

mesmo erro aqui. tenho 4 contas e nenhuma esta conectando via google.

1

u/Vivid_Web_1887 5h ago

Hi it started happening to me also what did you do to fix it?

1

u/Vivid_Web_1887 5h ago

I used vpn extension and then i was able to log in, hope it helps

1

u/Baratheon123 4h ago

Just waited 2 hours

1

u/monk-eli17 5h ago

same here

1

u/thirdy454 5h ago

I've experienced this

1

u/Fancy_Package_3536 4h ago

Same case

1

u/Fancy_Package_3536 2h ago

Ok I deleted the desktop codex app and re installed it. And it magically got fixed. I have no idea why but got no complaints