{"record":{"id":"824377d8f1ec4f36","repo":"github/spec-kit","slug":"network-access-disabled-cannot-fetch-catalog-so","errorCode":null,"errorMessage":"Network access disabled; cannot fetch catalog '{source.id}' from {url}.","messagePattern":"Network access disabled; cannot fetch catalog '(.+?)' from (.+?)\\.","errorType":"exception","errorClass":"BundlerError","httpStatus":null,"severity":"error","filePath":"src/specify_cli/bundler/services/adapters.py","lineNumber":158,"sourceCode":"            if payload is None:\n                raise BundlerError(f\"Unknown built-in catalog '{url}'.\")\n            return payload\n\n        if scheme == \"file\":\n            path = _file_url_to_path(parsed)\n            if not path.exists():\n                raise BundlerError(f\"Catalog file not found: {path}\")\n            return load_json(path)\n\n        if scheme == \"\" or _is_windows_drive_path(url):\n            path = Path(url)\n            if not path.exists():\n                raise BundlerError(f\"Catalog file not found: {path}\")\n            return load_json(path)\n\n        if scheme in (\"http\", \"https\"):\n            if not allow_network:\n                raise BundlerError(\n                    f\"Network access disabled; cannot fetch catalog '{source.id}' \"\n                    f\"from {url}.\"\n                )\n            _validate_remote_url(source.id, url)\n            return _http_get_json(source.id, url)\n\n        raise BundlerError(f\"Unsupported catalog URL scheme: {url}\")\n\n    return fetch\n\n\ndef _http_get_json(source_id: str, url: str) -> dict:\n    \"\"\"Fetch catalog JSON over HTTP(S) via the shared authenticated client.\n\n    Routing through :func:`specify_cli.authentication.http.open_url` gives\n    ``auth.json`` token support and strips the ``Authorization`` header when a\n    redirect leaves the entry's trusted hosts or downgrades the scheme. We also\n    reject any redirect that leaves HTTPS (the ``redirect_validator`` runs","sourceCodeStart":140,"sourceCodeEnd":176,"githubUrl":"https://github.com/github/spec-kit/blob/bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c/src/specify_cli/bundler/services/adapters.py#L140-L176","documentation":"Error \"Network access disabled; cannot fetch catalog '{source.id}' from {url}.\" thrown in github/spec-kit.","triggerScenarios":"Thrown at src/specify_cli/bundler/services/adapters.py:158 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run without --offline/--no-network so the remote catalog can be fetched, or add a local/bundled catalog source."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c","analyzedAt":"2026-08-14T19:43:37.150Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}