ErrLookup › Wei-Shaw/sub2api

Wei-Shaw/sub2api

Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。 · Go · 1,444 source files

Analyzed at 073e92d171 on 2026-08-15. 69 documented errors.

Code / MessageTypeSeverityTags
AUTH_SESSION_CHANGED
Authentication session changed while refreshing.
error_code error auth, frontend, axios, token-refresh, race-condition
*_notx.sql must not mix non-CONCURRENTLY SQL statements
validation error postgresql, sql, migrations, go, database, transactions
CREATE INDEX CONCURRENTLY in *_notx.sql must include IF NOT…
validation error postgresql, sql, migrations, go, database, idempotency
api_error
DeviceCheck is not supported on this Mac
http error macos, devicecheck, attestation, native-addon, hardware
TOKEN_REFRESH_FAILED
Session expired. Please log in again.
error_code error auth, frontend, axios, session-expiry, redirect
auth.dingtalk.callbackMissingToken
exception error oauth, dingtalk, callback, session, frontend
Passkey sign-in was cancelled
exception warning webauthn, passkeys, user-cancellation, frontend
dingtalk: internal_only requires app_type=internal
validation error config, dingtalk, oauth, validation, backend, startup
profile.avatar.compressFailed
exception warning canvas, image-compression, browser-limits, avatar, frontend
agent identity 缺少必要字段
validation error admin, import, agent-identity, validation, backend, codex
Passkey creation was cancelled
exception warning webauthn, passkeys, registration, user-cancellation, frontend
DROP INDEX CONCURRENTLY in *_notx.sql must include IF…
validation error postgresql, sql, migrations, go, database, idempotency
profile.avatar.compressTooLarge
exception warning image-compression, webp, avatar, upload-limits, frontend
未包含 refresh_token,且无法解析 accessToken 过期时间;请在第一步设置过期时间后再导入
validation error admin, import, expiry, refresh-token, validation, backend, codex
payment.airwallexLoadFailed
exception error payments, airwallex, sdk, csp, checkout, frontend
*_notx.sql currently only supports CREATE/DROP INDEX…
validation error database, migrations, postgres, validation
auth.verifyFailed
exception error oauth, email-verification, registration, api-contract, frontend
admin.backup.actions.downloadFailed
exception error backup, presigned-url, object-storage, admin, frontend
agent identity private key 格式无效
validation error admin, import, agent-identity, private-key, validation, backend, codex
HTTP error! status
exception error http, admin, fetch, streaming, error-handling, frontend
Passkeys are not supported by this browser
exception error webauthn, passkeys, browser-support, secure-context, frontend
auth.linuxdo.callbackMissingToken
exception error oauth, linuxdo, callback, session, frontend
缺少 accessToken/access_token
validation error admin, import, oauth, access-token, validation, backend, codex
No response body
exception error streaming, fetch-api, proxy, browser-support, frontend
proxies is required
validation error admin, import, json, validation, backend, data-format
auth.oidc.callbackMissingToken
exception error oauth, oidc, callback, session, frontend
keyUsage.queryFailed
exception error http, gateway, usage-api, error-handling, frontend
导入项为空
validation error backend, import, nil-guard, defensive, codex
admin.accounts.grok.noResponseBody
exception error streaming, admin, proxy, i18n, frontend
空 JSON 内容
validation error admin, import, json, validation, backend, codex
*_notx.sql must not contain transaction control statements…
validation error database, migrations, postgres, validation
xAI device verification did not reach consent page
exception error xai, sso, device-flow, redirect
concurrency must be >= 0
validation error admin, import, account, validation, backend, numeric, concurrency
xai sso unauthorized
exception error auth, xai, sso, sentinel-error
failed to get dashboard statistics
http error dashboard, database, admin, snapshot
xAI device flow token polling timed out
exception error xai, sso, device-flow, timeout
accounts is required
validation error admin, import, json, validation, backend, data-format
ChatGPT DeviceCheck token generation timed out
exception error macos, timeout, subprocess, attestation, live
profile.avatar.gifTooLarge
exception warning gif, upload-limits, validation, avatar, frontend
profile.avatar.invalidType
exception warning validation, file-upload, mime-type, avatar, frontend
xAI device approval did not reach done page
exception error xai, sso, device-flow, redirect
xAI device flow response is incomplete
exception error xai, sso, device-flow, schema-drift
xAI OAuth response exceeds 2 MiB
exception error xai, sso, size-limit, http
token_exchange_failed
missing access_token
http error oauth, authentication, token-exchange, config
CONCURRENTLY statements must be placed in *_notx.sql…
validation error database, migrations, postgres, validation
priority must be >= 0
validation error admin, validation, account-import, backend
account type is required
validation error admin, import, account, validation, backend, enum
failed to get usage trend
http error dashboard, usage-trend, database, admin
invalid_request_error
request body must be valid JSON
validation error live, json, validation, http
proxy protocol is required
validation error admin, import, proxy, validation, backend
the installed ChatGPT app has an unexpected bundle…
exception error macos, attestation, bundle-id, chatgpt-app, security
account credentials is required
validation error admin, import, account, credentials, validation, backend
base URL must not include a query
validation error config, url-validation, xai, oauth
account name is required
validation error admin, import, account, validation, backend
live attestation is only supported when Sub2API runs on…
exception error platform, macos, live, attestation, deployment
rate_multiplier must be >= 0
validation error admin, import, account, validation, backend, numeric
ChatGPT DeviceCheck returned a malformed attestation
exception error macos, attestation, json, subprocess, live
failed to get model statistics
http error dashboard, model-stats, database, admin
failed to get user usage trend
http error dashboard, user-trend, database, admin
xAI OAuth redirected to untrusted host
exception error xai, sso, security, redirect, allowlist
live attestation currently requires Apple Silicon; Intel…
exception error platform, apple-silicon, macos, live, attestation
proxy host is required
validation error admin, import, proxy, validation, backend
failed to get group statistics
http error dashboard, group-stats, database, admin
account platform is required
validation error admin, import, account, validation, backend
userinfo_failed
unsupported oauth provider
http error oauth, config, provider, validation
xAI OAuth redirect missing Location
exception error xai, sso, http, redirect
proxy port is invalid
validation error admin, import, proxy, validation, backend, port
base URL must not include a fragment
validation error config, url-validation, xai, oauth
xAI OAuth redirected too many times
exception error xai, sso, redirect, loop, cookies