GoogleChrome/lighthouse · error · LighthouseError

INVALID_URL

INVALID_URL

Error message

The URL you have provided appears to be invalid.

What it means

Error "The URL you have provided appears to be invalid." thrown in GoogleChrome/lighthouse.

Source

Thrown at core/lib/lh-error.js:383

    pattern: /Tracing.*started/,
    lhrRuntimeError: true,
  },
  PARSING_PROBLEM: {
    code: 'PARSING_PROBLEM',
    message: UIStrings.internalChromeError,
    pattern: /Parsing problem/,
    lhrRuntimeError: true,
  },
  READ_FAILED: {
    code: 'READ_FAILED',
    message: UIStrings.internalChromeError,
    pattern: /Read failed/,
    lhrRuntimeError: true,
  },

  // URL parsing failures
  INVALID_URL: {
    code: 'INVALID_URL',
    message: UIStrings.urlInvalid,
  },

  /* Protocol timeout failures
   * Requires an additional `protocolMethod` field for translation.
   */
  PROTOCOL_TIMEOUT: {
    code: 'PROTOCOL_TIMEOUT',
    message: UIStrings.protocolTimeout,
    lhrRuntimeError: true,
  },

  // DNS failure on main document (no resolution, timed out, etc)
  DNS_FAILURE: {
    code: 'DNS_FAILURE',
    message: UIStrings.dnsFailure,
    lhrRuntimeError: true,
  },

View on GitHub (pinned to 9515cd4e58)

Solutions

  1. Check the URL for typos and ensure it includes a valid scheme (http:// or https://).
  2. Make sure the hostname is valid and does not contain illegal characters.

When it happens

Trigger: Raised when the URL supplied to Lighthouse cannot be parsed or is otherwise invalid.

Common situations: See trigger scenarios.


AI-assisted analysis of GoogleChrome/lighthouse@9515cd4e58 (2026-08-13). Data as JSON: /api/errors/a862774c6e9956cf. Report an issue: GitHub.