Skip to content

Commit a35d9a4

Browse files
authored
Merge pull request #8 from gaoguobin/codex/github-mention-chatgpt-login-token-exchange-may-fail-with-4
docs: add troubleshooting for ChatGPT token exchange 403 unsupported region errors
2 parents 05f7041 + d3964c3 commit a35d9a4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,18 @@ net start winnat
139139
netsh interface ipv4 show excludedportrange protocol=tcp
140140
```
141141

142+
If ChatGPT login fails with `Token exchange failed ... 403 Forbidden: Country, region, or territory not supported`,
143+
verify routing before retrying:
144+
145+
- Confirm proxy status is ready, including `needs_restart=false`.
146+
- Confirm provider auth prep/split already completed.
147+
- Ensure your system proxy / VPN setup (including TUN mode if needed) captures Codex App/WebView
148+
login traffic, not only model provider traffic.
149+
- Temporarily disable route/proxy switchers (for example `ccswitch`) that can override or split
150+
login routing.
151+
- Treat this as an OpenAI region/routing rejection during OAuth token exchange, which is separate
152+
from third-party provider auth failures.
153+
142154
## Dashboard
143155

144156
Open:

0 commit comments

Comments
 (0)