Not Found
npm registry · GET /-/package/{package}/dist-tags · HTTP 404
Status: ✅ verified:server:prod · first seen 2026-10-31 · last confirmed 2026-10-31 · 1 confirmation from 1 vantage
GET /-/package/{package}/dist-tags for a package that does not exist returns HTTP 404 with the bare JSON string "Not Found", not an error object.
What to do
- No client-side fix known (by design).
Example
What probe af:npm-registry:probe:dist-tags-not-found sends (prod) and what it checks in the answer.
GET https://registry.npmjs.org/-/package/agent-facts-probe-no-such-package/dist-tags
Response (only what the probe asserts; other fields omitted):
HTTP 404
$ = "Not Found"
Dimensions
env: prod · plan: any · region: any · account_state: anonymous
Evidence
Probe af:npm-registry:probe:dist-tags-not-found (declarative, source)
Observations: none from reporters yet.
Related errors
Not Found· GET /{package}/{version} · HTTP 404Not found· GET /{package} · HTTP 404version not found: 0.0.99· GET /{package}/{version} · HTTP 404
Machine access
Match signature (what check() matches): not found
curl -s https://apifacts.dev/v0/check \
-H 'content-type: application/json' \
-d '{"target":{"method":"GET","url":"https://registry.npmjs.org/-/package/{package}/dist-tags"},"error":{"status":404,"body_excerpt":"not found"}}'
YAML: facts/npm-registry/dist-tags-not-found-404.yaml
Data: CC BY 4.0 · apifacts registry · This page is generated; edit the YAML, not the page.