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