{"record":{"id":"e5025a3a28f947f6","repo":"GoogleChrome/lighthouse","slug":"not-html","errorCode":"NOT_HTML","errorMessage":"The page provided is not HTML (served as MIME type {mimeType}).","messagePattern":"The page provided is not HTML \\(served as MIME type (.+?)\\)\\.","errorType":"error_code","errorClass":"LighthouseError","httpStatus":null,"severity":"error","filePath":"core/lib/lh-error.js","lineNumber":356,"sourceCode":"    message: UIStrings.pageLoadFailedInsecure,\n    lhrRuntimeError: true,\n  },\n  /* Used when any Chrome interstitial error prevents page load.\n   */\n  CHROME_INTERSTITIAL_ERROR: {\n    code: 'CHROME_INTERSTITIAL_ERROR',\n    message: UIStrings.pageLoadFailedInterstitial,\n    lhrRuntimeError: true,\n  },\n  /* Used when the page stopped responding and did not finish loading. */\n  PAGE_HUNG: {\n    code: 'PAGE_HUNG',\n    message: UIStrings.pageLoadFailedHung,\n    lhrRuntimeError: true,\n  },\n  /* Used when the page is non-HTML. */\n  NOT_HTML: {\n    code: 'NOT_HTML',\n    message: UIStrings.notHtml,\n    lhrRuntimeError: true,\n  },\n\n  // Protocol internal failures\n  TRACING_ALREADY_STARTED: {\n    code: 'TRACING_ALREADY_STARTED',\n    message: UIStrings.internalChromeError,\n    pattern: /Tracing.*started/,\n    lhrRuntimeError: true,\n  },\n  PARSING_PROBLEM: {\n    code: 'PARSING_PROBLEM',\n    message: UIStrings.internalChromeError,\n    pattern: /Parsing problem/,\n    lhrRuntimeError: true,\n  },\n  READ_FAILED: {","sourceCodeStart":338,"sourceCodeEnd":374,"githubUrl":"https://github.com/GoogleChrome/lighthouse/blob/9515cd4e58ebed69f78742d932b501c2cab8ad8f/core/lib/lh-error.js#L338-L374","documentation":"Error \"The page provided is not HTML (served as MIME type {mimeType}).\" thrown in GoogleChrome/lighthouse.","triggerScenarios":"Raised when the requested URL is served with a non-HTML MIME type.","commonSituations":"See trigger scenarios.","solutions":["Point Lighthouse at a page served with a text/html MIME type.","Check the server's Content-Type header for the URL and correct the server configuration.","Make sure the URL returns an HTML document, not JSON, an image, or a download."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9515cd4e58ebed69f78742d932b501c2cab8ad8f","analyzedAt":"2026-08-13T06:28:10.346Z","schemaVersion":2},"datasetVersion":"2026-08-13T09:17:06.757Z"}