Skip to content

docs: add troubleshooting for ChatGPT token exchange 403 unsupported region errors#8

Merged
gaoguobin merged 1 commit into
mainfrom
codex/github-mention-chatgpt-login-token-exchange-may-fail-with-4
May 20, 2026
Merged

docs: add troubleshooting for ChatGPT token exchange 403 unsupported region errors#8
gaoguobin merged 1 commit into
mainfrom
codex/github-mention-chatgpt-login-token-exchange-may-fail-with-4

Conversation

@gaoguobin
Copy link
Copy Markdown
Owner

Motivation

  • Users reported a ChatGPT login failure showing Token exchange failed ... 403 Forbidden: Country, region, or territory not supported even though the proxy reported provider auth split and needs_restart=false.
  • The intent is to document that OAuth/token-exchange failures can be caused by system/WebView routing (VPN/TUN or route switchers) rather than the proxy/provider auth alone.

Description

  • Added a troubleshooting block to README.md that documents the Token exchange failed ... 403 Forbidden: Country, region, or territory not supported error.
  • Instructed users to verify proxy readiness including needs_restart=false and that provider auth preparation/split completed.
  • Advised users to ensure their system proxy/VPN (including TUN mode) captures Codex App/WebView login traffic and to temporarily disable route/proxy switchers such as ccswitch.
  • Clarified that this is an OpenAI OAuth region/routing rejection separate from third-party provider auth failures.

Testing

  • No automated unit tests were run because this is a documentation-only change and does not affect runtime code or behavior.

Codex Task

@gaoguobin gaoguobin merged commit a35d9a4 into main May 20, 2026
6 checks passed
@gaoguobin gaoguobin deleted the codex/github-mention-chatgpt-login-token-exchange-may-fail-with-4 branch May 20, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant