diegosouzapw/OmniRoute · error · Error
ChatGPT Pro is not available for this connection
Error message
ChatGPT Pro is not available for this connection
What it means
Route guard in buildProviderConfig: the selected model route is marked pro: true (e.g. the 'pro' ChatGPT route) but the connection's providerSpecificData.proAvailable is not true. The connection never completed browser verification with a ChatGPT Pro account, so a Pro-only route cannot be served on it.
Solutions
- Use a non-Pro model route (instant/medium/high/extra-high) on this connection
- Connect a ChatGPT Pro account and complete browser verification so proAvailable is set on the connection
- Re-run connection validation to refresh the proAvailable capability flag
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at open-sse/executors/chatgpt-web-codex.ts:161 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/0b3c0e93fceac622.
Report an issue: GitHub.
Appendix: source
Thrown at open-sse/executors/chatgpt-web-codex.ts:161
parsed: CodexParsedRequest,
storageStatePath: string,
connectionId: string
): CodexProviderConfig {
const data = record(input.credentials.providerSpecificData);
const route = requireChatGptWebCodexRoute(input.model);
const paths = connectionRuntimePaths(connectionId);
const cdpEndpoint =
configuredString(data, "browserCdpEndpoint") ?? process.env.CHATGPT_WEB_CODEX_CDP_URL;
const chromeExecutablePath = detectChromeExecutable(
configuredString(data, "chromeExecutablePath")
);
if (!chromeExecutablePath && !cdpEndpoint) {
throw new Error("No supported Chrome or Chromium executable was found");
}
const proAvailable = data.proAvailable === true;
if (route.pro && !proAvailable) {
throw new Error("ChatGPT Pro is not available for this connection");
}
const hasTools = toolModeRequired(parsed);
const requiredChoice =
parsed.options.toolChoice === "required" || typeof parsed.options.toolChoice === "object";
if (route.pro && requiredChoice) {
throw new Error("ChatGPT Web Pro is read-only and cannot satisfy a required tool choice");
}
const connector =
configuredString(data, "connectorName", "appName") ??
process.env.CHATGPT_WEB_CODEX_CONNECTOR_NAME?.trim();
if (!route.pro && hasTools && !connector) {
throw new Error("ChatGPT Web (Codex) tools require a ready tunnel and Custom Connector");
}
parsed.modelId = "gpt-5.6-sol";
parsed.options.reasoning = route.effort;View on GitHub (pinned to a179ffed5b)