Error map

path-to-regexp TypeError: Missing parameter name at 1 (path-to-regexp)

Node.js · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

path-to-regexp — TypeError: Missing parameter name at 1 (path-to-regexp) (Node.js)path-to-reg…404 — HTTP 404 Not Found (HTTP)4041019 — Cloudflare Error 1019: Compute server error (Workers) (Cloudflare)1019Cannot GET — API Error: Cannot GET /api/... / No route matches / The route could not be found (API)Cannot GETNetwork is unreachable — connect: Network is unreachable (ENETUNREACH) (Linux)Network is unreacha…Whitelabel Error Page — Whitelabel Error Page — This application has no explicit mapping for /error (Java)Whitelabel Error Pa…ERR_HTTP_HEADERS_SENT — Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client (Node.js)ERR_HTTP_HEADERS_SE…req.body undefined — Express: req.body is undefined / {} (body parser missing) (Node.js)req.body undefinedrest_no_route — WordPress REST API: {"code":"rest_no_route","message":"No route was found matching the URL and request method."} (WordPress)rest_no_routeRoute [login] not defined — Laravel: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined (Laravel)Route [login] not d…405 — HTTP 405 Method Not Allowed (HTTP)405Router.use middleware — TypeError: Router.use() requires a middleware function but got a Object (Node.js)Router.use middlewa…No routes matched — No routes matched location "/x" (React)No routes matched403 — HTTP 403 Forbidden (HTTP)403410 — HTTP 410 Gone (HTTP)410SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSONNextRouter was not mounted — Error: NextRouter was not mounted. (React)NextRouter was not …1025 — Cloudflare Error 1025: Please check back later (Workers request limit) (Cloudflare)10251101 — Cloudflare Error 1101: Worker threw exception (Cloudflare)1101URIError — URIError: URI malformed (JavaScript)URIErrorapi_version_invalid — API Error: Invalid or unsupported API version (API)api_version_invalidThe request matched multiple endpoints — AmbiguousMatchException: The request matched multiple endpoints. Matches: X, Y (.NET)The request matched…ECONNRESET — Error: socket hang up / read ECONNRESET (API)ECONNRESETENOTFOUND — Error: getaddrinfo ENOTFOUND host / Name or service not known (API)ENOTFOUNDssh port 22 Connection refused — ssh: connect to host x port 22: Connection refused (Linux)ssh port 22 Connect…500 — HTTP 500 Internal Server Error (HTTP)500UnsatisfiedDependencyException — UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available (Java)UnsatisfiedDependen…circular references — The dependencies of some of the beans in the application context form a cycle (Java)circular referencesMODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDHeaders already sent — Warning: Cannot modify header information - headers already sent (PHP)Headers already sentSyntaxError import — SyntaxError: Cannot use import statement outside a module (Node.js)SyntaxError importDEP0005 — DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005) (Node.js)DEP0005DEP0040 — DeprecationWarning: The `punycode` module is deprecated (DEP0040) (Node.js)DEP0040Mongoose ValidationError — ValidationError: User validation failed: email: Path `email` is required. (Node.js)Mongoose Validation…Not a valid JSON response — WordPress: Updating failed. The response is not a valid JSON response. (WordPress)Not a valid JSON re…rest_forbidden — WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403) (WordPress)rest_forbiddenThe REST API encountered an error — Site Health: The REST API encountered an error / Your site could not complete a loopback request (cURL error 28) (WordPress)The REST API encoun…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016401 — HTTP 401 Unauthorized (HTTP)401400 — HTTP 400 Bad Request (HTTP)400CORS — CORS Error: No 'Access-Control-Allow-Origin' header is present (API)CORS501 — HTTP 501 Not Implemented (HTTP)501TypeError: not a function — TypeError: x is not a function (JavaScript)TypeError: not a fu…not a constructor — TypeError: x is not a constructor (JavaScript)not a constructorTDZ — ReferenceError: Cannot access 'x' before initialization (JavaScript)TDZuseNavigate outside Router — Error: useNavigate() may be used only in the context of a <Router> component. (React)useNavigate outside…The GET method is not supported for route — Laravel: The GET method is not supported for route x. Supported methods: POST (MethodNotAllowedHttpException) (Laravel)The GET method is n…

Directly related (12)

404HTTP

HTTP 404 Not Found

The server can’t find anything at the requested URL.

1019Cloudflare

Cloudflare Error 1019: Compute server error (Workers)

A Cloudflare Worker routed the request to a loop or hit an internal compute error.

Cannot GETAPI

API Error: Cannot GET /api/... / No route matches / The route could not be found

The server has no route for this URL and HTTP method combination — the endpoint path, API version prefix or method is wrong.

Network is unreachableLinux

connect: Network is unreachable (ENETUNREACH)

The host has no route to the destination network — no default gateway, interface down, or trying IPv6 without IPv6 connectivity.

Whitelabel Error PageJava

Whitelabel Error Page — This application has no explicit mapping for /error

Spring Boot’s default error page — the request hit no controller mapping (404) or a controller threw (500).

ERR_HTTP_HEADERS_SENTNode.js

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

An Express/Node handler tried to send a second response (or set headers) after one was already sent.

req.body undefinedNode.js

Express: req.body is undefined / {} (body parser missing)

Express didn’t parse the request body because no body-parsing middleware matched the request’s Content-Type.

rest_no_routeWordPress

WordPress REST API: {"code":"rest_no_route","message":"No route was found matching the URL and request method."}

The REST endpoint doesn’t exist for that URL and HTTP method — wrong namespace/route, plugin not active, or route registered too…

Route [login] not definedLaravel

Laravel: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined

Code called route('name') for a route name that doesn’t exist — very often route('login') from the auth middleware in API-only ap…

405HTTP

HTTP 405 Method Not Allowed

The URL exists, but it doesn’t accept the HTTP method you used (e.g. POST to a GET-only route).

Router.use middlewareNode.js

TypeError: Router.use() requires a middleware function but got a Object

app.use()/router.use() received an object instead of a function — usually a router module that wasn’t exported.

No routes matchedReact

No routes matched location "/x"

React Router found no route definition for the current URL.

Two steps away (35)

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

410HTTP

HTTP 410 Gone

The resource used to exist but was intentionally and permanently removed, with no forwarding address.

SyntaxError: JSONJavaScript

SyntaxError: Unexpected token < in JSON at position 0

`JSON.parse()` / `response.json()` received something that isn’t JSON — very often an HTML error page.

NextRouter was not mountedReact

Error: NextRouter was not mounted.

next/router’s useRouter was used inside the App Router (app/ directory), which uses next/navigation instead.

1025Cloudflare

Cloudflare Error 1025: Please check back later (Workers request limit)

The site’s Cloudflare Workers plan exceeded its daily request limit (free plan: 100,000 requests/day).

1101Cloudflare

Cloudflare Error 1101: Worker threw exception

The Cloudflare Worker serving this route threw an uncaught JavaScript exception.

URIErrorJavaScript

URIError: URI malformed

decodeURIComponent/decodeURI received an invalid percent-encoded sequence.

api_version_invalidAPI

API Error: Invalid or unsupported API version

The API version you requested — in the URL, a header or the SDK config — doesn’t exist or has been retired.

The request matched multiple endpoints.NET

AmbiguousMatchException: The request matched multiple endpoints. Matches: X, Y

Two controller actions or minimal API endpoints have the same route and HTTP method.

ECONNRESETAPI

Error: socket hang up / read ECONNRESET

The other side closed the TCP connection abruptly while your client was still using it.

ENOTFOUNDAPI

Error: getaddrinfo ENOTFOUND host / Name or service not known

DNS lookup for the hostname failed — the name is wrong, doesn’t exist, or this machine can’t resolve it.

ssh port 22 Connection refusedLinux

ssh: connect to host x port 22: Connection refused

The server answered, but nothing is listening on the SSH port — sshd isn’t running, it uses another port, or a firewall actively…

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

UnsatisfiedDependencyExceptionJava

UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available

Spring couldn’t find (or choose) a bean to inject.

circular referencesJava

The dependencies of some of the beans in the application context form a cycle

Two or more Spring beans depend on each other through constructors, and Spring Boot 2.6+ forbids cycles by default.

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

Headers already sentPHP

Warning: Cannot modify header information - headers already sent

You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.

SyntaxError importNode.js

SyntaxError: Cannot use import statement outside a module

An `import` statement ran in a context treated as CommonJS (Node without "type": "module", a browser script without type="module"…

DEP0005Node.js

DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005)

Code (yours or a dependency) uses the deprecated new Buffer() constructor.

DEP0040Node.js

DeprecationWarning: The `punycode` module is deprecated (DEP0040)

A dependency imports Node’s built-in punycode module, deprecated since Node 21.

Mongoose ValidationErrorNode.js

ValidationError: User validation failed: email: Path `email` is required.

A document failed Mongoose schema validation before saving.

Not a valid JSON responseWordPress

WordPress: Updating failed. The response is not a valid JSON response.

The block editor saved via the REST API but got HTML or an error page back — broken permalinks, a security plugin/WAF, or PHP out…

rest_forbiddenWordPress

WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403)

The REST request isn’t authenticated or the user lacks the capability required by the route’s permission_callback.

The REST API encountered an errorWordPress

Site Health: The REST API encountered an error / Your site could not complete a loopback request (cURL error 28)

WordPress couldn’t call itself over HTTP — needed for the block editor, cron, plugin/theme editors and Site Health.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

AADSTS700016Azure

Azure AD (Entra ID): AADSTS700016 Application not found in the directory

The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

CORSAPI

CORS Error: No 'Access-Control-Allow-Origin' header is present

The browser blocked a cross-origin request because the server’s response didn’t include the CORS headers allowing your site’s ori…

501HTTP

HTTP 501 Not Implemented

The server doesn’t support the functionality (usually the HTTP method) needed to fulfil the request.

TypeError: not a functionJavaScript

TypeError: x is not a function

You called something as a function, but its value is not a function (it’s undefined, a string, an object…).

not a constructorJavaScript

TypeError: x is not a constructor

new was used with something that isn’t a class/constructor — usually a wrong import.

TDZJavaScript

ReferenceError: Cannot access 'x' before initialization

A let/const/class was used before its declaration line ran (temporal dead zone) — often a circular import.

useNavigate outside RouterReact

Error: useNavigate() may be used only in the context of a <Router> component.

A React Router hook ran in a component that isn’t rendered inside a Router provider.

The GET method is not supported for routeLaravel

Laravel: The GET method is not supported for route x. Supported methods: POST (MethodNotAllowedHttpException)

The URL exists, but not for the HTTP method used — e.g. opening a POST-only route in the browser, or a form sending GET.