Error Code Portal
Node.jsNode.jsError code

ERR_INVALID_URL

invalid url

Code ERR_INVALID_URL · An issue reported by Node.js.

An invalid URL was passed to the WHATWG URL constructor or the legacy url.parse() to be parsed. The thrown error object typically has an additional property 'input' that contains the URL that failed to parse.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.